Browse Source

removed unused lines

ninjastone 10 years ago
parent
commit
c984c18a8b
1 changed files with 0 additions and 2 deletions
  1. 0 2
      Source/Tools/AssetImporter/AssetImporter.cpp

+ 0 - 2
Source/Tools/AssetImporter/AssetImporter.cpp

@@ -1074,8 +1074,6 @@ void BuildAndSaveAnimations(OutModel* model)
             }
 
             // To export single frame animation, check if first key frame is identical to bone transformation
-            Vector3 firstScale = ToVector3(channel->mScalingKeys[0].mValue);
-            Quaternion firstRot = ToQuaternion(channel->mRotationKeys[0].mValue);
             aiVector3D bonePos, boneScale;
             aiQuaternion boneRot;
             boneNode->mTransformation.Decompose(boneScale, boneRot, bonePos);