From afad32e8ffa2b04e70e51bddeb81f7611e8db871 Mon Sep 17 00:00:00 2001 From: jordan4ibanez Date: Tue, 28 Nov 2023 05:32:28 -0500 Subject: [PATCH] And then add future plans --- source/Irrlicht/CB3DJSONMeshFileLoader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp index 5f36e978..8a2418b1 100644 --- a/source/Irrlicht/CB3DJSONMeshFileLoader.cpp +++ b/source/Irrlicht/CB3DJSONMeshFileLoader.cpp @@ -260,9 +260,12 @@ IAnimatedMesh* CB3DJSONMeshFileLoader::createMesh(io::IReadFile* file) { if (!std::get<0>(loadResult)) { // Print the reason, and return a nullptr. return(this->cleanUp(std::get<1>(loadResult))); + } else { + //todo: We finalize the model here. } println("We got to the end."); + //todo: We return the object's AnimatedMesh. return nullptr; }