Browse Source

Typo fix in AssetImporter.

Lasse Öörni 8 years ago
parent
commit
c8ecd9f55c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/Tools/AssetImporter/AssetImporter.cpp

+ 1 - 1
Source/Tools/AssetImporter/AssetImporter.cpp

@@ -1291,7 +1291,7 @@ void BuildAndSaveAnimations(OutModel* model)
                 startTime = Min(startTime, (float)channel->mPositionKeys[0].mTime);
             if (channel->mNumRotationKeys > 0)
                 startTime = Min(startTime, (float)channel->mRotationKeys[0].mTime);
-            if (channel->mScalingKeys > 0)
+            if (channel->mNumScalingKeys > 0)
                 startTime = Min(startTime, (float)channel->mScalingKeys[0].mTime);
         }
         if (startTime > thisImportStartTime)