forked from mia/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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue