- fbx: prevent infinite recursion when resolving objects with cyclic references.

This commit is contained in:
Alexander Gessler
2012-07-21 17:13:03 +02:00
parent 378bc93593
commit 4f6dbac919

View File

@@ -404,6 +404,10 @@ LazyObject::~LazyObject()
// ------------------------------------------------------------------------------------------------
const Object* LazyObject::Get()
{
if(being_constructed) {
return NULL;
}
if (object.get()) {
return object.get();
}