- fbx: prevent infinite recursion when resolving objects with cyclic references.
parent
378bc93593
commit
4f6dbac919
|
@ -404,6 +404,10 @@ LazyObject::~LazyObject()
|
|||
// ------------------------------------------------------------------------------------------------
|
||||
const Object* LazyObject::Get()
|
||||
{
|
||||
if(being_constructed) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (object.get()) {
|
||||
return object.get();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue