diff --git a/code/AssetLib/Step/STEPFile.h b/code/AssetLib/Step/STEPFile.h index 785f3bd65..1fd24b329 100644 --- a/code/AssetLib/Step/STEPFile.h +++ b/code/AssetLib/Step/STEPFile.h @@ -520,7 +520,7 @@ public: } const Object &operator*() const { - if (obj != nullptr) { + if (!obj) { LazyInit(); ai_assert(obj); }