Parametric curves are back
This commit is contained in:
@@ -445,15 +445,23 @@ void CurveEditor::curveResetPressed () {
|
|||||||
void CurveEditor::shcChanged () {
|
void CurveEditor::shcChanged () {
|
||||||
|
|
||||||
paramCurve->setPoints (getCurve());
|
paramCurve->setPoints (getCurve());
|
||||||
if (cl)
|
if (cl) {
|
||||||
cl->curveChanged ();
|
if (cl->isMulti())
|
||||||
|
cl->curveChanged (this);
|
||||||
|
else
|
||||||
|
cl->curveChanged ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CurveEditor::adjusterChanged (Adjuster* a, double newval) {
|
void CurveEditor::adjusterChanged (Adjuster* a, double newval) {
|
||||||
|
|
||||||
paramCurve->setPoints (getCurve());
|
paramCurve->setPoints (getCurve());
|
||||||
if (cl)
|
if (cl) {
|
||||||
cl->curveChanged ();
|
if (cl->isMulti())
|
||||||
|
cl->curveChanged (this);
|
||||||
|
else
|
||||||
|
cl->curveChanged ();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CurveEditor::adjusterEntered (GdkEventCrossing* ev, int ac) {
|
bool CurveEditor::adjusterEntered (GdkEventCrossing* ev, int ac) {
|
||||||
|
Reference in New Issue
Block a user