Browse Source

Properly import morph shape frame names

BearishSun 9 years ago
parent
commit
db2834fd12
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/BansheeFBXImporter/Source/BsFBXUtility.cpp

+ 1 - 0
Source/BansheeFBXImporter/Source/BsFBXUtility.cpp

@@ -188,6 +188,7 @@ namespace BansheeEngine
 				const FBXBlendShapeFrame& sourceFrame = sourceShape.frames[j];
 				const FBXBlendShapeFrame& sourceFrame = sourceShape.frames[j];
 				FBXBlendShapeFrame& destFrame = destShape.frames[j];
 				FBXBlendShapeFrame& destFrame = destShape.frames[j];
 
 
+				destFrame.name = sourceFrame.name;
 				destFrame.weight = sourceFrame.weight;
 				destFrame.weight = sourceFrame.weight;
 				destFrame.positions = sourceFrame.positions;
 				destFrame.positions = sourceFrame.positions;