From 3cfb2a7323228b94d9aa42a24de836c29316761f Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Tue, 28 Nov 2023 05:40:07 -0500 Subject: [PATCH] Important note --- source/Irrlicht/CB3DJSONMeshFileLoader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp index ea92ff66..04c47f0d 100644 --- a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp +++ b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp @@ -225,6 +225,7 @@ std::tuple CB3DJSONMeshFileLoader::parseJSONFile(io::IReadFil // We have to catch a JSON parse error or else the game will segfault. try { + //! This is pointing to static memory. It will only be valid during the loading of this model. JSONDataContainer = json::parse(output); } catch (const json::parse_error& e) { std::string failureReason = "message: " + std::string(e.what()) + '\n' +