Curves Widget: The endpoint condition for calculating the interpolation
had an error, moving too quickly to a constant value (for extending).
This commit is contained in:
2006-06-09 13:04:21 +00:00
parent e18e59ee67
commit 27bea32b70
2 changed files with 2 additions and 2 deletions

View File

@@ -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 */