Browse Source

correct AllSame mapping index

Lewy Blue 7 years ago
parent
commit
b612a65e3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/js/loaders/FBXLoader.js

+ 1 - 1
examples/js/loaders/FBXLoader.js

@@ -1328,7 +1328,7 @@
 				index = vertexIndex;
 				break;
 			case 'AllSame' :
-				index = 0;
+				index = infoObject.indices[ 0 ];
 				break;
 			default :
 				console.warn( 'THREE.FBXLoader: unknown attribute mapping type ' + infoObject.mappingType );