From 63cee5de79f955ce22c57b1ef4322d88128892f9 Mon Sep 17 00:00:00 2001 From: kearwood Date: Fri, 5 Oct 2012 20:41:25 +0000 Subject: [PATCH] Updated fbx import for compatibility with recent runtime engine refactoring --HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40119 --- KREngine/KREngine/Classes/KRResource+fbx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/KREngine/KREngine/Classes/KRResource+fbx.cpp b/KREngine/KREngine/Classes/KRResource+fbx.cpp index b9cfe75..0d09d4a 100644 --- a/KREngine/KREngine/Classes/KRResource+fbx.cpp +++ b/KREngine/KREngine/Classes/KRResource+fbx.cpp @@ -271,7 +271,7 @@ void LoadMesh(KRNode *parent_node, std::vector &resources, KFbxGeo std::string light_map = pNode->GetName(); light_map.append("_lightmap"); - KRInstance *new_instance = new KRInstance(parent_node->getScene(), pNode->GetName(), pNode->GetName(), light_map); + KRInstance *new_instance = new KRInstance(parent_node->getScene(), pNode->GetName(), pNode->GetName(), light_map, 0.0f); fbxDouble3 local_rotation = pNode->LclRotation.Get(); // pNode->GetGeometricRotation(KFbxNode::eSOURCE_SET); fbxDouble3 local_translation = pNode->LclTranslation.Get(); // pNode->GetGeometricTranslation(KFbxNode::eSOURCE_SET); fbxDouble3 local_scale = pNode->LclScaling.Get(); // pNode->GetGeometricScaling(KFbxNode::eSOURCE_SET);