diff options
author | Matt Ebb <matt@mke3.net> | 2009-12-17 13:01:08 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-12-17 13:01:08 +0300 |
commit | 6c006b2ebbaa2d56f7dba0a036910138d864305e (patch) | |
tree | a3443b0f0eb096d3e5486e967bd43495309f817a /source/blender/editors/screen | |
parent | 42c2cbdc671bef652e9c743590167bc04358063f (diff) |
Fix [#20397] Saving with F2 on multiple windows layout crashes
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_edit.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index 9c581527e4c..0c690452d8a 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -1487,9 +1487,11 @@ ScrArea *ed_screen_fullarea(bContext *C, wmWindow *win, ScrArea *sa) oldscreen= win->screen; - /* is there only 1 area? */ + /* nothing wrong with having only 1 area, as far as I can see... + // is there only 1 area? if(oldscreen->areabase.first==oldscreen->areabase.last) return NULL; + */ oldscreen->full = SCREENFULL; BLI_snprintf(newname, sizeof(newname), "%s-%s", oldscreen->id.name+2, "temp"); |