Commit a4b9a8c0 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix artifacts in the colorize mask when it works in unlimited mode

parent 44399f62
......@@ -516,7 +516,7 @@ QRect KisColorizeMask::decorateRect(KisPaintDeviceSP &src,
KisPainter gc(dst);
if (m_d->shouldShowFilteredSource()) {
const QRect drawRect = rect & m_d->filteredDeviceBounds;
const QRect drawRect = m_d->limitToDeviceBounds ? rect & m_d->filteredDeviceBounds : rect;
gc.setOpacity(128);
gc.bitBlt(drawRect.topLeft(), m_d->filteredSource, drawRect);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment