Parametric curves are back

This commit is contained in:
Hombre
2010-10-25 19:38:38 +02:00
parent 0834ae070a
commit f0661fe294

View File

@@ -445,15 +445,23 @@ void CurveEditor::curveResetPressed () {
void CurveEditor::shcChanged () {
paramCurve->setPoints (getCurve());
if (cl)
cl->curveChanged ();
if (cl) {
if (cl->isMulti())
cl->curveChanged (this);
else
cl->curveChanged ();
}
}
void CurveEditor::adjusterChanged (Adjuster* a, double newval) {
paramCurve->setPoints (getCurve());
if (cl)
cl->curveChanged ();
if (cl) {
if (cl->isMulti())
cl->curveChanged (this);
else
cl->curveChanged ();
}
}
bool CurveEditor::adjusterEntered (GdkEventCrossing* ev, int ac) {