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

List:       kde-commits
Subject:    [calligra/kexi-altertable-staniek] krita/plugins/paintops/libbrush: fix autobrush for non-uniform co
From:       Jaroslaw Staniek <staniek () kde ! org>
Date:       2012-10-31 11:29:35
Message-ID: 20121031112935.3F74EA610F () git ! kde ! org
[Download RAW message or body]

Git commit 90cd2b7c70a1271ee2e2490d6cc20891c23f7e21 by Jaroslaw Staniek, on behalf of \
Sven Langkamp. Committed on 13/10/2012 at 01:07.
Pushed by staniek into branch 'kexi-altertable-staniek'.

fix autobrush for non-uniform color information

M  +1    -0    krita/plugins/paintops/libbrush/kis_auto_brush.cpp

http://commits.kde.org/calligra/90cd2b7c70a1271ee2e2490d6cc20891c23f7e21

diff --git a/krita/plugins/paintops/libbrush/kis_auto_brush.cpp \
b/krita/plugins/paintops/libbrush/kis_auto_brush.cpp index 7213bde..dae3568 100644
--- a/krita/plugins/paintops/libbrush/kis_auto_brush.cpp
+++ b/krita/plugins/paintops/libbrush/kis_auto_brush.cpp
@@ -389,6 +389,7 @@ void \
KisAutoBrush::generateMaskAndApplyMaskOrCreateDab(KisFixedPaintDeviceSP dst  for (int \
                x = 0; x < dstWidth; x++) {
                     memcpy(dabPointer, coloringInformation->color(), pixelSize);
                     coloringInformation->nextColumn();
+                    dabPointer += pixelSize;
                 }
                 coloringInformation->nextRow();
             }


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

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