mirror of https://github.com/odrling/Aegisub
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:
parent
388580e0cc
commit
b4e3208405
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue