2.5
[blender-staging.git] / source / blender / editors / screen / area.c
index f90c247d69df45731de07dabf1d6a360d0a107d2..1c47d9302a1e93a9e1819cc49542c939cb5df80b 100644 (file)
@@ -620,7 +620,7 @@ void area_newspace(bContext *C, ScrArea *sa, int type)
                else {
                        /* new space */
                        if(st) {
-                               sl= st->new();
+                               sl= st->new(C);
                                BLI_addhead(&sa->spacedata, sl);
                                
                                /* swap regions */