From 288f757482b12e5da5bb01c9d42720f0839ae9c4 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Tue, 28 Nov 2023 05:07:30 -0500 Subject: [PATCH] Seeing a pattern evolving --- source/Irrlicht/CB3DJSONMeshFileLoader.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp index 5dc3db3c..b718353e 100644 --- a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp +++ b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp @@ -230,7 +230,8 @@ IAnimatedMesh* CB3DJSONMeshFileLoader::createMesh(io::IReadFile* file) { } if (!this->parseJSONFile(file)) { - + this->cleanUp("B3D JSON severe error! File size is 0!"); + return AnimatedMesh; }