Don't free the Editor's UndoRedo.

This commit is contained in:
Relintai 2024-03-09 08:17:36 +01:00
parent 87be638698
commit bfaf5a6b75

View File

@ -674,10 +674,6 @@ void GenericTilePolygonEditor::_base_control_gui_input(Ref<InputEvent> p_event)
}
base_control->update();
if (!use_undo_redo) {
memdelete(undo_redo);
}
}
void GenericTilePolygonEditor::_set_snap_option(int p_index) {