diff --git a/src/core/Geometry.js b/src/core/Geometry.js index 6486b086b608a0d19b43e46c8ec8d9ec60802d50..e05878275d475699bfbb11e27f5d160f411a164f 100644 --- a/src/core/Geometry.js +++ b/src/core/Geometry.js @@ -820,7 +820,7 @@ Object.assign( Geometry.prototype, EventDispatcher.prototype, { mergeMesh: function ( mesh ) { - if ( ( mesh && mesh.isMesh ) === false ) { + if ( !mesh || !mesh.isMesh ) { console.error( 'THREE.Geometry.mergeMesh(): mesh not an instance of THREE.Mesh.', mesh ); return;