_curve_changed is now virtual, and curve_changed uses call() to invoke it.

This commit is contained in:
Relintai 2022-06-17 13:11:18 +02:00
parent b1cc1cb693
commit c39cfd2c05
2 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ void CurveBase::set_points(const Vector<CurveBase::Point> &arr, const bool notif
}
void CurveBase::curve_changed() {
_curve_changed();
call("_curve_changed");
}
void CurveBase::_curve_changed() {

View File

@ -59,7 +59,7 @@ public:
void set_points(const Vector<Point> &arr, const bool notify = true);
void curve_changed();
void _curve_changed();
virtual void _curve_changed();
CurveBase();
~CurveBase();