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:
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 73ff3e9fe05..32813041d2d 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -39,7 +39,6 @@
#include "BKE_screen.h"
#include "BKE_utildefines.h"
-#include "ED_area.h"
#include "ED_screen.h"
#include "ED_screen_types.h"
@@ -385,7 +384,7 @@ void ED_area_initialize(wmWindowManager *wm, wmWindow *win, ScrArea *sa)
sa->type= BKE_spacetype_from_id(sa->spacetype);
if(sa->type==NULL) {
- sa->spacetype= SPACE_VIEW3D;
+ sa->butspacetype= sa->spacetype= SPACE_VIEW3D;
sa->type= BKE_spacetype_from_id(sa->spacetype);
}