Commit ca9a9fb4 authored by Michael Natterer's avatar Michael Natterer 😴

app: reset the rotation to zero when the shell is emptied

so the next image doesn't appear rotated.
parent 81e293cb
......@@ -1332,6 +1332,9 @@ gimp_display_shell_empty (GimpDisplayShell *shell)
/* so wilber doesn't flicker */
gtk_widget_set_double_buffered (shell->canvas, TRUE);
shell->rotate_angle = 0.0;
gimp_display_shell_rotate_update_transform (shell);
gimp_display_shell_expose_full (shell);
user_context = gimp_get_user_context (shell->display->gimp);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment