Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2008-12-14 13:57:52 +0300
committerJoshua Leung <aligorith@gmail.com>2008-12-14 13:57:52 +0300
commit36fb509f96c3ed8cbe44345e1cbbaa9636b34b4c (patch)
tree9e5ddf710df71f5c354de06af4424b210d5fed41 /source/blender/editors/space_time
parent3a58eddec5d47973f19c1c6102fa3e45a27a71ba (diff)
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.
Diffstat (limited to 'source/blender/editors/space_time')
-rw-r--r--source/blender/editors/space_time/space_time.c10
1 files changed, 5 insertions, 5 deletions
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;