diff --git a/code/FBXDocument.cpp b/code/FBXDocument.cpp index 8326d921e..2fe90a5c1 100644 --- a/code/FBXDocument.cpp +++ b/code/FBXDocument.cpp @@ -404,6 +404,10 @@ LazyObject::~LazyObject() // ------------------------------------------------------------------------------------------------ const Object* LazyObject::Get() { + if(being_constructed) { + return NULL; + } + if (object.get()) { return object.get(); }