app: reset the rotation to zero when the shell is emptied
so the next image doesn't appear rotated.
This commit is contained in:
parent
81e293cb06
commit
ca9a9fb498
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue