Skip to content

Commit b612a65

Browse files
committed
correct AllSame mapping index
1 parent 7e46a46 commit b612a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/loaders/FBXLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@
13281328
index = vertexIndex;
13291329
break;
13301330
case 'AllSame' :
1331-
index = 0;
1331+
index = infoObject.indices[ 0 ];
13321332
break;
13331333
default :
13341334
console.warn( 'THREE.FBXLoader: unknown attribute mapping type ' + infoObject.mappingType );

0 commit comments

Comments
 (0)