mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-15 23:10:26 +01:00
Find source of segfault
This commit is contained in:
parent
fcc8c42e41
commit
42595ba7c7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user