提交 3faad2bf 编写于 作者: T Takahiro

Revert the change of GLTFLoader

上级 3abec128
...@@ -1644,7 +1644,7 @@ THREE.GLTFLoader = ( function () { ...@@ -1644,7 +1644,7 @@ THREE.GLTFLoader = ( function () {
} }
if ( primitive.indices !== undefined ) { if ( primitive.indices ) {
geometry.setIndex( dependencies.accessors[ primitive.indices ] ); geometry.setIndex( dependencies.accessors[ primitive.indices ] );
...@@ -1694,7 +1694,7 @@ THREE.GLTFLoader = ( function () { ...@@ -1694,7 +1694,7 @@ THREE.GLTFLoader = ( function () {
var meshNode; var meshNode;
if ( primitive.indices !== undefined ) { if ( primitive.indices ) {
geometry.setIndex( dependencies.accessors[ primitive.indices ] ); geometry.setIndex( dependencies.accessors[ primitive.indices ] );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册