From 78ab0bf3db8b91a484e7ed3f9a81afd903cc1d6c Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Wed, 15 Nov 2023 04:04:41 +0200 Subject: [PATCH] Remove comments left over by the previous commit Oops --- src/UI/Canvas/Selection.gd | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/UI/Canvas/Selection.gd b/src/UI/Canvas/Selection.gd index dfc0c85a2..83d7d87ad 100644 --- a/src/UI/Canvas/Selection.gd +++ b/src/UI/Canvas/Selection.gd @@ -586,13 +586,11 @@ func commit_undo(action: String, undo_data_tmp: Dictionary) -> void: project.undos += 1 project.undo_redo.create_action(action) Global.undo_redo_compress_images(redo_data, undo_data_tmp, project) -# project.undo_redo.add_do_property(project, "selection_map", redo_data["selection_map"]) project.undo_redo.add_do_property( self, "big_bounding_rectangle", redo_data["big_bounding_rectangle"] ) project.undo_redo.add_do_property(project, "selection_offset", redo_data["outline_offset"]) -# project.undo_redo.add_undo_property(project, "selection_map", undo_data_tmp["selection_map"]) project.undo_redo.add_undo_property( self, "big_bounding_rectangle", undo_data_tmp["big_bounding_rectangle"] ) @@ -600,7 +598,6 @@ func commit_undo(action: String, undo_data_tmp: Dictionary) -> void: project, "selection_offset", undo_data_tmp["outline_offset"] ) -# if undo_data_tmp["undo_image"]: project.undo_redo.add_do_method(Global.undo_or_redo.bind(false)) project.undo_redo.add_do_method(project.selection_map_changed) project.undo_redo.add_undo_method(Global.undo_or_redo.bind(true))