Find source of segfault

This commit is contained in:
jordan4ibanez 2023-11-28 09:55:28 -05:00
parent fcc8c42e41
commit 42595ba7c7

View File

@ -593,6 +593,7 @@ std::tuple<bool, std::string> CB3DJSONMeshFileLoader::load() {
*/
CSkinnedMesh* CB3DJSONMeshFileLoader::cleanUp(std::string failure) {
os::Printer::log(failure.c_str(), ELL_WARNING);
//! This causes a segmentation fault.
if (AnimatedMesh != nullptr) {
AnimatedMesh->drop();
AnimatedMesh = 0;