mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-06 18:20:26 +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) {
|
CSkinnedMesh* CB3DJSONMeshFileLoader::cleanUp(std::string failure) {
|
||||||
os::Printer::log(failure.c_str(), ELL_WARNING);
|
os::Printer::log(failure.c_str(), ELL_WARNING);
|
||||||
|
//! This causes a segmentation fault.
|
||||||
if (AnimatedMesh != nullptr) {
|
if (AnimatedMesh != nullptr) {
|
||||||
AnimatedMesh->drop();
|
AnimatedMesh->drop();
|
||||||
AnimatedMesh = 0;
|
AnimatedMesh = 0;
|
||||||
|
Reference in New Issue
Block a user