mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-11 10:30:06 +01:00
Fix crash on shutdown.
This commit is contained in:
parent
1a5be23b91
commit
26b6fc89f8
@ -482,6 +482,10 @@ void TerrainWorldEditor::edit(TerrainWorld *p_world) {
|
||||
|
||||
_gizmo = get_gizmo_from(_world);
|
||||
|
||||
if (!_gizmo.is_valid()) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (_tool_mode) {
|
||||
case TOOL_MODE_ADD:
|
||||
case TOOL_MODE_REMOVE:
|
||||
|
Loading…
Reference in New Issue
Block a user