diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-09-29 17:25:42 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-09-29 17:25:42 +0400 |
commit | 4829cf9cd008d6c14b0f3cd5ef816064f404ed25 (patch) | |
tree | 64693b9a678663f00348c75ffbe5de003a7cde5b /source/blender/editors/screen/area.c | |
parent | 3407a2e14522151ffcfa0f776323df4516d67af7 (diff) |
Fix [#36830] 'Reset to Default Value' on Current Area Type button causes crash
Default default value for space types (0, i.e. SPACE_EMPTY) is not valid, use SPACE_VIEW3D instead.
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r-- | source/blender/editors/screen/area.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 91d1985cd00..fccce0357a4 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1446,7 +1446,6 @@ void ED_area_newspace(bContext *C, ScrArea *sa, int type) } if (sl) { - /* swap regions */ slold->regionbase = sa->regionbase; sa->regionbase = sl->regionbase; |