Important note

This commit is contained in:
jordan4ibanez 2023-11-28 05:40:07 -05:00
parent 7ce8858957
commit 3cfb2a7323

View File

@ -225,6 +225,7 @@ std::tuple<bool, std::string> 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' +