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/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index 399a7f08205..4ec64a5328d 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -496,16 +496,10 @@ static void outliner_init(wmWindowManager *wm, ScrArea *sa)
{
ARegion *ar;
- /* link area to SpaceXXX struct */
- sa->type= BKE_spacetype_from_id(SPACE_OOPS);
-
- /* add handlers to area */
- /* define how many regions, the order and types */
-
/* add types to regions, check handlers */
for(ar= sa->regionbase.first; ar; ar= ar->next) {
- ar->type= ED_regiontype_from_id(sa->type, ar->regiontype); /* XXX fix type and id */
+ ar->type= ED_regiontype_from_id(sa->type, ar->regiontype);
if(ar->handlers.first==NULL) {
ListBase *keymap;