diff --git a/kraken/resources/KRResource+gltf.cpp b/kraken/resources/KRResource+gltf.cpp index 19f9335..16356ec 100644 --- a/kraken/resources/KRResource+gltf.cpp +++ b/kraken/resources/KRResource+gltf.cpp @@ -37,6 +37,8 @@ #include "mimir.h" +#include + using namespace mimir; using namespace hydra; @@ -453,14 +455,14 @@ KRBundle* KRResource::LoadGltf(KRContext& context, const std::string& path) if (error) { // TODO - Report and handle error - return; + return nullptr; } ondemand::object jsonRoot; error = doc.get_object().get(jsonRoot); if (error) { // TODO - Report and handle error - return; + return nullptr; } simdjson::ondemand::array jsonBuffers;