提交 ceb706b0 编写于 作者: T Takahiro

Clean up GLTF2Loader

上级 ac34f7d9
......@@ -2688,8 +2688,9 @@ THREE.GLTF2Loader = ( function () {
}
//do not clone children as they will be replaced anyway
// do not clone children as they will be replaced anyway
var clonedgroup = group.clone( false );
for ( var childrenId in group.children ) {
var child = group.children[ childrenId ];
......@@ -2786,10 +2787,12 @@ THREE.GLTF2Loader = ( function () {
}
clonedgroup.add( child );
clonedgroup.add(child);
}
_node.add( clonedgroup );
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册