Browse Source

Fix wrong variable name

Josh Engebretson 10 years ago
parent
commit
7b7c1f51dc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/ToolCore/Import/OpenAssetUtils.cpp

+ 2 - 2
Source/ToolCore/Import/OpenAssetUtils.cpp

@@ -328,7 +328,7 @@ bool GetBlendData(OutModel& model, aiMesh* mesh, PODVector<unsigned>& boneMappin
             unsigned globalIndex = GetBoneIndex(model, boneName);
             if (globalIndex == M_MAX_UNSIGNED)
             {
-                errorMsg = "Bone " + boneName + " not found";
+                errorMessage = "Bone " + boneName + " not found";
                 return false;
             }
             boneMappings[i] = globalIndex;
@@ -349,7 +349,7 @@ bool GetBlendData(OutModel& model, aiMesh* mesh, PODVector<unsigned>& boneMappin
             unsigned globalIndex = GetBoneIndex(model, boneName);
             if (globalIndex == M_MAX_UNSIGNED)
             {
-                errorMsg = "Bone " + boneName + " not found";
+                errorMessage = "Bone " + boneName + " not found";
                 return false;
             }