diff --git a/WickedEngine/wiApplication_BindLua.cpp b/WickedEngine/wiApplication_BindLua.cpp index 4e4280803..4566ea879 100644 --- a/WickedEngine/wiApplication_BindLua.cpp +++ b/WickedEngine/wiApplication_BindLua.cpp @@ -59,6 +59,11 @@ namespace wi::lua } wi::RenderPath* renderpath = component->GetActivePath(); + if (renderpath == nullptr) + { + wi::lua::SError(L, "GetActivePath() returned null! No path was registered yet!"); + return 0; + } //return 3d component if the active one is of that type if (renderpath->GetScriptBindingID() == wi::RenderPath3D::script_check_identifier) diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index a09ce1105..40793ce28 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wi::version // minor features, major updates, breaking compatibility changes const int minor = 72; // minor bug fixes, alterations, refactors, updates - const int revision = 11; + const int revision = 12; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);