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

List:       kde-commits
Subject:    koffice/krita/tools
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2005-01-31 9:57:46
Message-ID: 20050131095746.297B11D1E7 () office ! kde ! org
[Download RAW message or body]

CVS commit by rempt: 

Fixed the action of the selection eraser and brush by swapping them according
with the new defintion of MAX_SELECTED.


  M +1 -1      kis_tool_select_brush.cc   1.19
  M +1 -1      kis_tool_select_eraser.cc   1.17


--- koffice/krita/tools/kis_tool_select_brush.cc  #1.18:1.19
@@ -120,5 +120,5 @@ void KisToolSelectBrush::initPaint(KisEv
                 m_painter -> setPaintColor(Qt::black);
                 m_painter -> setBrush(m_subject -> currentBrush());
-                m_painter -> setOpacity(OPACITY_TRANSPARENT);
+                m_painter -> setOpacity(OPACITY_OPAQUE);
                 m_painter -> setCompositeOp(COMPOSITE_OVER);
                 KisPaintOp * op = KisPaintOpRegistry::instance() -> paintOp("eraser", painter());

--- koffice/krita/tools/kis_tool_select_eraser.cc  #1.16:1.17
@@ -73,5 +73,5 @@ void KisToolSelectEraser::initPaint(KisE
                 m_painter -> setPaintColor(Qt::white); // XXX: the mask color!
                 m_painter -> setBrush(m_subject -> currentBrush());
-                m_painter -> setOpacity(OPACITY_OPAQUE);
+                m_painter -> setOpacity(OPACITY_TRANSPARENT);
                 m_painter -> setCompositeOp(COMPOSITE_OVER);
 


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

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