mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-24 00:14:19 +01:00
Don't free the editor's UndoRedo.
This commit is contained in:
parent
d088565d3f
commit
db7f5c8bec
@ -385,10 +385,6 @@ void GenericTilePolygonEditor::_advanced_menu_item_pressed(int p_item_pressed) {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (!use_undo_redo) {
|
||||
memdelete(undo_redo);
|
||||
}
|
||||
}
|
||||
|
||||
void GenericTilePolygonEditor::_grab_polygon_point(Vector2 p_pos, const Transform2D &p_polygon_xform, int &r_polygon_index, int &r_point_index) {
|
||||
|
Loading…
Reference in New Issue
Block a user