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:
authorTon Roosendaal <ton@blender.org>2006-06-09 17:04:21 +0400
committerTon Roosendaal <ton@blender.org>2006-06-09 17:04:21 +0400
commit27bea32b700ddefb494c3687a01c2d128b40b65f (patch)
tree1cce76a52817c16d1de4c464b430837593882196 /source/blender/src/interface_draw.c
parente18e59ee67c2067c370259c49088e5f70572cd63 (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.c2
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 */