1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 01:29:49 +00:00

Remove unused method in Draw.gd

Global search for "restore_image" doesn't return anything, so I assume it's unused
This commit is contained in:
Manolis Papadeas 2021-07-24 18:42:07 +03:00
parent ef133f4f71
commit 68cbf4cfb3

View file

@ -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()