Fix off-by-one error causing rendering errors in the vector clip visual tool when bezier curves are used

Originally committed to SVN as r5973.
This commit is contained in:
Thomas Goyne 2011-12-06 18:08:33 +00:00
parent 388580e0cc
commit b4e3208405

View file

@ -192,7 +192,7 @@ static int render_bicubic(Spline::iterator cur, std::vector<float> &points) {
points.push_back(p.Y());
}
return steps;
return steps + 1;
}
void Spline::GetPointList(std::vector<float>& points, std::vector<int>& first, std::vector<int>& count) {