提交 b35b2d43 编写于 作者: T Takahiro

GLTFExporter: Rename foceIndex with didForceIndices.

上级 7ac5b2e3
......@@ -1015,7 +1015,7 @@ THREE.GLTFExporter.prototype = {
}
var forcedIndex = false;
var didForceIndices = false;
if ( geometry.index === null && forceIndices ) {
......@@ -1029,7 +1029,7 @@ THREE.GLTFExporter.prototype = {
geometry.index = new THREE.Uint32BufferAttribute( indices, 1 );
forcedIndex = true;
didForceIndices = true;
}
......@@ -1063,7 +1063,7 @@ THREE.GLTFExporter.prototype = {
}
if ( forcedIndex ) {
if ( didForceIndices ) {
geometry.index = null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册