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-03-02 03:55:10 +0300
committerJoshua Leung <aligorith@gmail.com>2009-03-02 03:55:10 +0300
commitd52212c73e12287c88036ba5e82a6cb647342012 (patch)
treea8947605fb97c2ad58617e2fe4d6724a838618c0 /source/blender/editors/space_graph/graph_draw.c
parent6888f540e8ebee25c94db67474c48dd7c249bdf9 (diff)
2.5 - Various animation bugfixes for samples
Diffstat (limited to 'source/blender/editors/space_graph/graph_draw.c')
-rw-r--r--source/blender/editors/space_graph/graph_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c
index f02a9b6e6f4..1efa257c317 100644
--- a/source/blender/editors/space_graph/graph_draw.c
+++ b/source/blender/editors/space_graph/graph_draw.c
@@ -390,7 +390,7 @@ static void draw_fcurve_samples (SpaceIpo *sipo, ARegion *ar, FCurve *fcu)
/* get verts */
first= fcu->fpt;
- last= (first) ? (first + fcu->totvert) : (NULL);
+ last= (first) ? (first + (fcu->totvert-1)) : (NULL);
/* draw */
if (first && last) {