Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2012-10-27 19:27:27 +0400
committerTon Roosendaal <ton@blender.org>2012-10-27 19:27:27 +0400
commite106003cdb3e2f60b139cb124927ecc2b26c7add (patch)
tree8efd85b488e457354e6b05b2661917b7d61819a9 /source/blender/editors/screen
parent71a0fb5dded999a761c2c332bf8936379e4619a2 (diff)
Bugfix 32988
"Area prev space" was setting areas to "Info" - in case no previous editor could be found. That goes wrong for cases like: - goto composite screen - make image editor full - render - esc
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/area.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index aed801a6350..f30e0abb4f3 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -1450,7 +1450,8 @@ void ED_area_prevspace(bContext *C, ScrArea *sa)
ED_area_newspace(C, sa, sl->next->spacetype);
}
else {
- ED_area_newspace(C, sa, SPACE_INFO);
+ /* no change */
+ return;
}
ED_area_tag_redraw(sa);