Put a transparent checker background to RotateImage dialog

Also made it extend the ImageEffect class.
This commit is contained in:
OverloadedOrama 2020-08-26 17:49:46 +03:00
parent e88b62ea44
commit b52a7c224a
4 changed files with 49 additions and 49 deletions

View file

@ -352,8 +352,6 @@ func show_resize_canvas_popup() -> void:
func show_rotate_image_popup() -> void:
var image : Image = Global.current_project.frames[Global.current_project.current_frame].cels[Global.current_project.current_layer].image
Global.control.get_node("Dialogs/ImageEffects/RotateImage").set_sprite(image)
Global.control.get_node("Dialogs/ImageEffects/RotateImage").popup_centered()
Global.dialog_open(true)