提交 ff0dc588 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #11939 from fernandojsg/fixDrawMode

GLTF2Loader: fix drawMode
......@@ -2758,6 +2758,7 @@ THREE.GLTF2Loader = ( function () {
for ( var childrenId in group.children ) {
var child = group.children[ childrenId ];
var originalChild = child;
// clone Mesh to add to _node
......@@ -2799,6 +2800,7 @@ THREE.GLTF2Loader = ( function () {
default:
child = new THREE.Mesh( originalGeometry, material );
child.drawMode = originalChild.drawMode;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册