Make method UpdateControlPoints const.
--HG-- branch : feature
This commit is contained in:
parent
6bcf80e7a8
commit
745004bb5f
|
@ -153,7 +153,7 @@ void VToolSplinePath::ControlPointChangePosition(const qint32 &indexSpline, cons
|
|||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VToolSplinePath::UpdateControlPoints(const VSpline &spl, VSplinePath &splPath, const qint32 &indexSpline)
|
||||
void VToolSplinePath::UpdateControlPoints(const VSpline &spl, VSplinePath &splPath, const qint32 &indexSpline) const
|
||||
{
|
||||
VSplinePoint p = splPath.GetSplinePoint(indexSpline, SplinePoint::FirstPoint);
|
||||
p.SetAngle2(spl.GetAngle1());
|
||||
|
|
|
@ -149,7 +149,7 @@ private:
|
|||
* @param splPath spline path.
|
||||
* @param indexSpline index spline in spline path.
|
||||
*/
|
||||
void UpdateControlPoints(const VSpline &spl, VSplinePath &splPath, const qint32 &indexSpline);
|
||||
void UpdateControlPoints(const VSpline &spl, VSplinePath &splPath, const qint32 &indexSpline) const;
|
||||
void RefreshSplinePath(VSplinePath &splPath);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user