[Digikam-devel] extragear/graphics/digikam/imageplugins

Gilles Caulier caulier.gilles at kdemail.net
Tue Jan 16 07:25:46 GMT 2007


SVN commit 624043 by cgilles:

digiKam from trunk : Color Management Image Plugin : Fix Lighness Curves retoration between session without create intermediate curves points. If you have created a curve using a single point, the toll wil restore it exactly like this.

CCMAIL: digikam-devel at kde.org

 M  +1 -7      imageeffect_iccproof.cpp  


--- trunk/extragear/graphics/digikam/imageplugins/imageeffect_iccproof.cpp #624042:624043
@@ -571,7 +571,7 @@
 
     for (int j = 0 ; j < 17 ; j++)
     {
-        QPoint disable(-1, 0);
+        QPoint disable(-1, -1);
         QPoint p = config->readPointEntry(QString("CurveAjustmentPoint%1").arg(j), &disable);
 
         if (m_originalImage->sixteenBit() && p.x() != -1)
@@ -585,9 +585,6 @@
 
     for (int i = 0 ; i < 5 ; i++)
         m_curves->curvesCalculateCurve(i);
-
-    m_curvesWidget->m_channelType = Digikam::CurvesWidget::ValueHistogram;
-    m_curvesWidget->curveTypeChanged();
 }
 
 void ImageEffect_ICCProof::writeUserSettings()
@@ -1211,9 +1208,6 @@
         for (int i = 0 ; i < 5 ; i++)
            m_curves->curvesCalculateCurve(i);
 
-        m_curvesWidget->m_channelType = Digikam::CurvesWidget::ValueHistogram;
-        m_curvesWidget->curveTypeChanged();
-
         m_histogramWidget->reset();
         slotEffect();  
     }



More information about the Digikam-devel mailing list