فهرست منبع

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() ];