瀏覽代碼

removed scene flattening

Lewy Blue 7 年之前
父節點
當前提交
3ab6e5b3e3
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      examples/js/loaders/FBXLoader.js

+ 0 - 8
examples/js/loaders/FBXLoader.js

@@ -1636,14 +1636,6 @@
 
 		setupMorphMaterials( sceneGraph );
 
-		// if all the models where already combined in a single group, just return that
-		if ( sceneGraph.children.length === 1 && sceneGraph.children[ 0 ].isGroup ) {
-
-			sceneGraph.children[ 0 ].animations = sceneGraph.animations;
-			return sceneGraph.children[ 0 ];
-
-		}
-
 		return sceneGraph;
 
 	}