Free bug in VToolSplinePath::UpdateControlPoints.

This commit is contained in:
Roman Telezhynskyi 2020-11-09 14:24:55 +02:00
parent 3a76f5f0cb
commit 49b43674c3

View File

@ -358,7 +358,7 @@ void VToolSplinePath::UpdateControlPoints(const VSpline &spl, QSharedPointer<VSp
VSpline prevSpline = splPath->GetSpline(indexSpline-1);
if (qmu::QmuTokenParser::IsSingle(prevSpline.GetEndAngleFormula()))
{
p.SetAngle1(spl.GetEndAngle(), spl.GetEndAngleFormula());
p.SetAngle2(spl.GetStartAngle(), spl.GetStartAngleFormula());
}
}
else