From kde-commits Sun Feb 28 22:57:40 2010 From: Cyrille Berger Date: Sun, 28 Feb 2010 22:57:40 +0000 To: kde-commits Subject: koffice/krita/plugins/paintops/defaultpaintops/eraser Message-Id: <1267397860.782277.12750.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=126745038729809 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);