[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/plugins/paintops/defaultpaintops/eraser
From:       Cyrille Berger <cyb () lepi ! org>
Date:       2010-02-28 22:57:40
Message-ID: 1267397860.782277.12750.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1097336 by berger:

Fix eraser hanging krita


 M  +1 -1      kis_eraseop.cpp  


--- trunk/koffice/krita/plugins/paintops/defaultpaintops/eraser/kis_eraseop.cpp \
#1097335:1097336 @@ -106,7 +106,7 @@
         return 1.0;
 
     double scale = KisPaintOp::scaleForPressure(m_sizeOption.apply(info));
-    if ((scale * brush->width()) <= 0.01 || (scale * brush->height()) <= \
0.01) return 0.0; +    if ((scale * brush->width()) <= 0.01 || (scale * \
brush->height()) <= 0.01) return spacing(scale);  
     KisPaintDeviceSP device = painter()->device();
     QPointF hotSpot = brush->hotSpot(scale, scale);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic