diff options
author | Ton Roosendaal <ton@blender.org> | 2006-06-09 17:04:21 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-06-09 17:04:21 +0400 |
commit | 27bea32b700ddefb494c3687a01c2d128b40b65f (patch) | |
tree | 1cce76a52817c16d1de4c464b430837593882196 /source/blender/src/interface_draw.c | |
parent | e18e59ee67c2067c370259c49088e5f70572cd63 (diff) |
Bugfix #4284
Curves Widget: The endpoint condition for calculating the interpolation
had an error, moving too quickly to a constant value (for extending).
Diffstat (limited to 'source/blender/src/interface_draw.c')
-rw-r--r-- | source/blender/src/interface_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/interface_draw.c b/source/blender/src/interface_draw.c index 1df46f4e50b..4f799142769 100644 --- a/source/blender/src/interface_draw.c +++ b/source/blender/src/interface_draw.c @@ -2196,7 +2196,7 @@ static void ui_draw_but_CURVE(uiBut *but) fy= but->y1 + zoomy*(cmp[a].y-offsy); glVertex2f(fx, fy); } - glVertex2f(but->x2, but->y1 + zoomy*(cmp[a-1].y-offsy)); /* last point */ + glVertex2f(but->x2, but->y1 + zoomy*(cmp[CM_TABLE].y-offsy)); /* last point */ glEnd(); /* the points, use aspect to make them visible on edges */ |