The basics for Node Space.... no complaints sofar :)
This commit is contained in:
2008-12-13 18:09:49 +00:00
parent e0ab792cf6
commit 04e264a7a2
11 changed files with 542 additions and 19 deletions

View 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 */