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

List:       kde-commits
Subject:    branches/koffice/2.0/koffice/krita/plugins/paintops/defaultpaintops/brush
From:       Cyrille Berger <cyb () lepi ! org>
Date:       2009-05-28 20:10:44
Message-ID: 1243541444.264858.11806.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 974244 by berger:

Fix: tablet pressure only effective when size is enabled in the option

backport from trunk


 M  +0 -4      kis_brushop.cpp  


--- branches/koffice/2.0/koffice/krita/plugins/paintops/defaultpaintops/brush/kis_brushop.cpp \
#974243:974244 @@ -148,10 +148,6 @@
 {
     KisPaintInformation adjustedInfo1(pi1);
     KisPaintInformation adjustedInfo2(pi2);
-    if (!settings->m_optionsWidget->m_sizeOption->isChecked()) {
-        adjustedInfo1.setPressure(PRESSURE_DEFAULT);
-        adjustedInfo2.setPressure(PRESSURE_DEFAULT);
-    }
     return KisPaintOp::paintLine(adjustedInfo1, adjustedInfo2, savedDist);
 }
 


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

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