Commit d4b34e3e authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Fix colorsmudge brush to paint on the transparency masks

For masks we should use compositionSourceColorSpace() for actual
drawing.
parent 8f570a28
...@@ -32,7 +32,7 @@ KisOverlayPaintDeviceWrapper::KisOverlayPaintDeviceWrapper(KisPaintDeviceSP sour ...@@ -32,7 +32,7 @@ KisOverlayPaintDeviceWrapper::KisOverlayPaintDeviceWrapper(KisPaintDeviceSP sour
{ {
m_d->source = source; m_d->source = source;
const KoColorSpace *overlayColorSpace = source->colorSpace(); const KoColorSpace *overlayColorSpace = source->compositionSourceColorSpace();
const bool usePreciseMode = mode == PreciseMode || mode == LazyPreciseMode; const bool usePreciseMode = mode == PreciseMode || mode == LazyPreciseMode;
......
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