From f0661fe29408fd17fd2fea67f5894409ec9d19f9 Mon Sep 17 00:00:00 2001 From: Hombre Date: Mon, 25 Oct 2010 19:38:38 +0200 Subject: [PATCH] Parametric curves are back --- rtgui/curveeditor.cc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/rtgui/curveeditor.cc b/rtgui/curveeditor.cc index 8c5ec6d89..d156aaf98 100644 --- a/rtgui/curveeditor.cc +++ b/rtgui/curveeditor.cc @@ -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) {