Fix model importer to use precomputed Offset Matrix for skeletal model bones
#1525
This commit is contained in:
2
Source/ThirdParty/OpenFBX/ofbx.cpp
vendored
2
Source/ThirdParty/OpenFBX/ofbx.cpp
vendored
@@ -3538,7 +3538,7 @@ Object* Object::resolveObjectLink(int idx) const
|
||||
if (connection.to == id && connection.from != 0)
|
||||
{
|
||||
Object* obj = scene.m_object_map.find(connection.from)->second.object;
|
||||
if (obj)
|
||||
if (obj && obj->is_node && obj != this && connection.type == Scene::Connection::OBJECT_OBJECT)
|
||||
{
|
||||
if (idx == 0) return obj;
|
||||
--idx;
|
||||
|
||||
Reference in New Issue
Block a user