提交 e0f84b07 编写于 作者: 0 06wj

Fix geometry.mergeMesh determine mesh bug

上级 defa8277
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册