koffice/krita/image/filter

Boudewijn Rempt boud at valdyas.org
Tue Jan 5 10:48:17 CET 2010


On Tue, 5 Jan 2010, Dmitry Kazakov wrote:

> 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.

Was there any reason for not fixing composite copy to take the mask into account?

Boudewijn



More information about the kimageshop mailing list