From 68cbf4cfb39277e66868dbd782a58fa6dd4b61f8 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Sat, 24 Jul 2021 18:42:07 +0300 Subject: [PATCH] Remove unused method in Draw.gd Global search for "restore_image" doesn't return anything, so I assume it's unused --- src/Tools/Draw.gd | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Tools/Draw.gd b/src/Tools/Draw.gd index bf9e9bbd8..79d30d306 100644 --- a/src/Tools/Draw.gd +++ b/src/Tools/Draw.gd @@ -142,14 +142,6 @@ func update_line_polylines(start : Vector2, end : Vector2) -> void: _line_polylines = _create_polylines(indicator) -func restore_image() -> void: - var project : Project = Global.current_project - var image = project.frames[project.current_frame].cels[project.current_layer].image - image.unlock() - image.data = _undo_data[image] - image.lock() - - func prepare_undo() -> void: _undo_data = _get_undo_data()