From 36fb509f96c3ed8cbe44345e1cbbaa9636b34b4c Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Sun, 14 Dec 2008 10:57:52 +0000 Subject: View2D: Bugfixes... * Headers were twitching when moved again due to a hack I had made for the TimeLine * Properly fixed TimeLine init so that grid will start in the right place. --- source/blender/editors/space_time/space_time.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/editors/space_time') diff --git a/source/blender/editors/space_time/space_time.c b/source/blender/editors/space_time/space_time.c index 9ed69979dba..b74896782f3 100644 --- a/source/blender/editors/space_time/space_time.c +++ b/source/blender/editors/space_time/space_time.c @@ -223,17 +223,17 @@ static SpaceLink *time_new(void) ar->regiontype= RGN_TYPE_WINDOW; ar->v2d.tot.xmin= -4.0; - ar->v2d.tot.ymin= -10.0; + ar->v2d.tot.ymin= 0.0; ar->v2d.tot.xmax= (float)EFRA + 4.0; - ar->v2d.tot.ymax= 10; - + ar->v2d.tot.ymax= 50.0; + ar->v2d.cur= ar->v2d.tot; ar->v2d.min[0]= 1.0; - ar->v2d.min[1]= 20.0; /* XXX */ + ar->v2d.min[1]= 50.0; ar->v2d.max[0]= 32000.0; - ar->v2d.max[1]= 20; /* XXX */ + ar->v2d.max[1]= 50.0; ar->v2d.minzoom= 0.1f; ar->v2d.maxzoom= 10.0; -- cgit v1.2.3