Lewy Blue 7 лет назад
Родитель
Сommit
b612a65e3b
1 измененных файлов с 1 добавлено и 1 удалено
  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 );