Now importing bone / skeleton structure from FBX files.

Object names from FBX files are now concatenated with the FBX numerical ID to ensure that they are unique

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40179
This commit is contained in:
kearwood
2012-12-07 08:22:55 +00:00
parent 6514ceebd8
commit 4bec4ee8b2

View File

@@ -57,6 +57,8 @@ const float KRAKEN_FBX_ANIMATION_FRAMERATE = 30.0f; // FINDME - This should be c
std::string GetFbxObjectName(FbxObject *obj)
{
// Object names from FBX files are now concatenated with the FBX numerical ID to ensure that they are unique
// TODO - This should be updated to only add a prefix or suffix if needed to make the name unique
std::stringstream st;
st << "fbx_";
st << obj->GetUniqueID();