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>2009-07-03 05:57:38 +0400
committerJoshua Leung <aligorith@gmail.com>2009-07-03 05:57:38 +0400
commit5e92ddece3a7367ca7687e762226d639389e5517 (patch)
treeba8437a82874057138ff5e9f07b446fa6d2ff044 /source/blender/editors/space_graph/space_graph.c
parent28d371d1178642e17f5dfc300f1500a132ce7149 (diff)
parentfb5f9273eba4b30e1aa0573388367592b18bdbba (diff)
NLA SoC: Merge from 2.5
21301 to 21329
Diffstat (limited to 'source/blender/editors/space_graph/space_graph.c')
-rw-r--r--source/blender/editors/space_graph/space_graph.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_graph/space_graph.c b/source/blender/editors/space_graph/space_graph.c
index ef42b009bd4..b17861dc679 100644
--- a/source/blender/editors/space_graph/space_graph.c
+++ b/source/blender/editors/space_graph/space_graph.c
@@ -243,6 +243,10 @@ static void graph_main_area_draw(const bContext *C, ARegion *ar)
/* draw curves twice - unselected, then selected, so that the are fewer occlusion problems */
graph_draw_curves(&ac, sipo, ar, grid, 0);
graph_draw_curves(&ac, sipo, ar, grid, 1);
+
+ /* XXX the slow way to set tot rect... but for nice sliders needed (ton) */
+ get_graph_keyframe_extents(&ac, &v2d->tot.xmin, &v2d->tot.xmax, &v2d->tot.ymin, &v2d->tot.ymax);
+
}
/* only free grid after drawing data, as we need to use it to determine sampling rate */