<br><br><div class="gmail_quote">On Tue, Jan 5, 2010 at 1:01 AM, Edward Apap <span dir="ltr"><<a href="mailto:schumifer@hotmail.com">schumifer@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
SVN commit 1070110 by eapap:<br>
<br>
Use COMPOSITE_COPY when applying filter result<br>
<br>
<br>
M +1 -1 kis_filter_job.cpp<br>
<br>
<br>
--- trunk/koffice/krita/image/filter/kis_filter_job.cpp #1070109:1070110<br>
@@ -64,7 +64,7 @@<br>
<br>
// blt back onto the original<br>
KisPainter p2(m_dev);<br>
- p2.setCompositeOp(m_dev->colorSpace()->compositeOp(COMPOSITE_OVER));<br>
+ p2.setCompositeOp(m_dev->colorSpace()->compositeOp(COMPOSITE_COPY));<br>
p2.setSelection(m_selection);<br>
p2.bitBlt(m_rc.topLeft(), dst, m_rc);<br>
p2.end();<br>
</blockquote></div><br>COMPOSITE_COPY doesn't pay any attention to the selections. At least it used to. Please check whether this patch breaks selected filter application.<br clear="all"><br>-- <br>Dmitry Kazakov<br>