mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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();
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty() && front().type != SplineCurve::POINT)
|
||||
push_front(pt);
|
||||
}
|
||||
|
||||
void Spline::MovePoint(iterator curve,int point,Vector2D pos) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user