2.5
[blender.git] / source / blender / editors / screen / screen_edit.c
index 2039db7ab6e4e3077a2b219fb234c1aec2783670..de2e0d37f8c62543beac5a609eef2ddc7b655227 100644 (file)
@@ -246,7 +246,7 @@ static ScrArea *screen_addarea(bScreen *sc, ScrVert *v1, ScrVert *v2, ScrVert *v
        sa->v3= v3;
        sa->v4= v4;
        sa->headertype= headertype;
-       sa->spacetype= spacetype;
+       sa->spacetype= sa->butspacetype= spacetype;
        
        BLI_addtail(&sc->areabase, sa);