فهرست منبع

Bugfix: When mapping Bone components to animated bones, properly retrieve the requested bone name

BearishSun 8 سال پیش
والد
کامیت
6d865fb276
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      Source/BansheeCore/Components/BsCAnimation.cpp

+ 1 - 1
Source/BansheeCore/Components/BsCAnimation.cpp

@@ -403,7 +403,7 @@ namespace bs
 			if (mMappingInfos[i].bone == bone)
 			{
 				mInternal->unmapSceneObject(mMappingInfos[i].sceneObject);
-				mInternal->mapCurveToSceneObject(bone->getName(), mMappingInfos[i].sceneObject);
+				mInternal->mapCurveToSceneObject(bone->getBoneName(), mMappingInfos[i].sceneObject);
 				break;
 			}
 		}