From ca9a9fb498c8ef9c5c08083bb694bc4e6ae8e4df Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Sun, 21 Apr 2013 02:46:17 +0200 Subject: [PATCH] app: reset the rotation to zero when the shell is emptied so the next image doesn't appear rotated. --- app/display/gimpdisplayshell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/display/gimpdisplayshell.c b/app/display/gimpdisplayshell.c index f1a771a7d8..c6c6aab98f 100644 --- a/app/display/gimpdisplayshell.c +++ b/app/display/gimpdisplayshell.c @@ -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);