diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-03-02 03:55:10 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-03-02 03:55:10 +0300 |
commit | d52212c73e12287c88036ba5e82a6cb647342012 (patch) | |
tree | a8947605fb97c2ad58617e2fe4d6724a838618c0 /source/blender/editors/space_graph/graph_draw.c | |
parent | 6888f540e8ebee25c94db67474c48dd7c249bdf9 (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.c | 2 |
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) { |