koffice/krita/image/filter

Dmitry Kazakov dimula73 at gmail.com
Tue Jan 5 10:45:19 CET 2010


On Tue, Jan 5, 2010 at 1:01 AM, Edward Apap <schumifer at hotmail.com> wrote:

> SVN commit 1070110 by eapap:
>
> Use COMPOSITE_COPY when applying filter result
>
>
>  M  +1 -1      kis_filter_job.cpp
>
>
> --- trunk/koffice/krita/image/filter/kis_filter_job.cpp #1070109:1070110
> @@ -64,7 +64,7 @@
>
>     // blt back onto the original
>     KisPainter p2(m_dev);
> -    p2.setCompositeOp(m_dev->colorSpace()->compositeOp(COMPOSITE_OVER));
> +    p2.setCompositeOp(m_dev->colorSpace()->compositeOp(COMPOSITE_COPY));
>     p2.setSelection(m_selection);
>     p2.bitBlt(m_rc.topLeft(), dst, m_rc);
>     p2.end();
>

COMPOSITE_COPY doesn't pay any attention to the selections. At least it used
to. Please check whether this patch breaks selected filter application.

-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20100105/dfc42a8d/attachment.htm 


More information about the kimageshop mailing list