2.5
[blender.git] / source / blender / editors / space_image / space_image.c
index c876b7e31f2949856bc6587a0408d8978239aa8a..6cefcd8321bca251535e659e6902ab931cecef92 100644 (file)
@@ -91,24 +91,6 @@ static SpaceLink *image_new(void)
        BLI_addtail(&simage->regionbase, ar);
        ar->regiontype= RGN_TYPE_WINDOW;
        
-       ar->v2d.tot.xmin= 0.0f;
-       ar->v2d.tot.ymin= -10.0f;
-       ar->v2d.tot.xmax= 250.0;
-       ar->v2d.tot.ymax= 10.0f;
-       
-       ar->v2d.cur= ar->v2d.tot;
-       
-       ar->v2d.min[0]= 0.01f;
-       ar->v2d.min[1]= 0.01f;
-       
-       ar->v2d.max[0]= MAXFRAMEF;
-       ar->v2d.max[1]= 10000.0f;
-       
-       ar->v2d.scroll= (V2D_SCROLL_BOTTOM|V2D_SCROLL_SCALE_BOTTOM);
-       ar->v2d.scroll |= (V2D_SCROLL_LEFT|V2D_SCROLL_SCALE_LEFT);
-       
-       ar->v2d.keeptot= 0;
-       
        /* channel list region XXX */