From 4bec4ee8b20b1c8c434d2437ae6ec0c1f6a298c5 Mon Sep 17 00:00:00 2001 From: kearwood Date: Fri, 7 Dec 2012 08:22:55 +0000 Subject: [PATCH] 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 --- KREngine/KREngine/Classes/KRResource+fbx.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/KREngine/KREngine/Classes/KRResource+fbx.cpp b/KREngine/KREngine/Classes/KRResource+fbx.cpp index 94bccfb..89553e6 100644 --- a/KREngine/KREngine/Classes/KRResource+fbx.cpp +++ b/KREngine/KREngine/Classes/KRResource+fbx.cpp @@ -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();