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:
@@ -57,6 +57,8 @@ const float KRAKEN_FBX_ANIMATION_FRAMERATE = 30.0f; // FINDME - This should be c
|
|||||||
|
|
||||||
std::string GetFbxObjectName(FbxObject *obj)
|
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;
|
std::stringstream st;
|
||||||
st << "fbx_";
|
st << "fbx_";
|
||||||
st << obj->GetUniqueID();
|
st << obj->GetUniqueID();
|
||||||
|
|||||||
Reference in New Issue
Block a user