소스 검색

rename bone -> model

Lewy Blue 7 년 전
부모
커밋
a424d0e7d8
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      examples/js/loaders/FBXLoader.js

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

@@ -2302,15 +2302,15 @@
 
 		for ( var containerIndicesIndex = containerIndices.length - 1; containerIndicesIndex >= 0; -- containerIndicesIndex ) {
 
-			var boneID = findIndex( modelsArray, function ( bone ) {
+			var modelID = findIndex( modelsArray, function ( model ) {
 
-				return bone.FBX_ID === containerIndices[ containerIndicesIndex ].ID;
+				return model.FBX_ID === containerIndices[ containerIndicesIndex ].ID;
 
 			} );
 
-			if ( boneID > - 1 ) {
+			if ( modelID > - 1 ) {
 
-				returnObject.containerBoneID = boneID;
+				returnObject.containerBoneID = modelID;
 
 				var model = rawModels[ containerIndices[ containerIndicesIndex ].ID.toString() ];