mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-06 10:10:25 +02:00
Find source of segfault
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user