mirror of https://github.com/odrling/Aegisub
Fix crash when drawing a vector clip that does not start with a move. Closes #1430.
Originally committed to SVN as r6375.
This commit is contained in:
parent
4746ae8a1d
commit
d01c0cf501
|
@ -160,6 +160,9 @@ void Spline::DecodeFromASS(wxString str) {
|
||||||
stack.clear();
|
stack.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty() && front().type != SplineCurve::POINT)
|
||||||
|
push_front(pt);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spline::MovePoint(iterator curve,int point,Vector2D pos) {
|
void Spline::MovePoint(iterator curve,int point,Vector2D pos) {
|
||||||
|
|
Loading…
Reference in New Issue