mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-24 08:24:23 +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:
|
default:
|
||||||
break;
|
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) {
|
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