<div class="gmail_quote">On Sat, Feb 19, 2011 at 1:55 PM, Silvio Heinrich <span dir="ltr">&lt;<a href="mailto:plassy@web.de">plassy@web.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On 02/18/2011 09:05 AM, Boudewijn Rempt wrote:<br>
&gt; On Friday 18 February 2011, Silvio Heinrich:<br>
&gt;&gt; I had a discussion with Sven about that this functionality would be good<br>
&gt;&gt; for the filter brush, too.<br>
&gt;&gt; And after a bit of thinking I believe it could be useful for more PaintOps.<br>
&gt;&gt; For example the deform brush and even the standard pixel brush (when<br>
&gt;&gt; painting with composite option different then &quot;normal&quot;).<br>
&gt;&gt; So I would suggest to have a checkbox for this feature in the &quot;Tool<br>
&gt;&gt; Options&quot; underneath the &quot;Assistant&quot; checkbox.<br>
&gt;&gt; And then add a few methods to the KisPaintOp class:<br>
&gt;&gt;<br>
&gt;&gt; class KRITAIMAGE_EXPORT KisPaintOp : public KisShared<br>
&gt;&gt; {<br>
&gt;&gt;       ...<br>
&gt;&gt;       virtual bool supportsMergedPainting() const { return false }<br>
&gt;&gt;<br>
&gt;&gt;       void enableMergedPainting(bool enable) { m_mergePaintingEnabled =<br>
&gt;&gt; enable; }<br>
&gt;&gt;       bool mergedPaintingEnabled() const     { return<br>
&gt;&gt; supportsMergedPainting()&amp;&amp;  m_mergePaintingEnabled; }<br>
&gt;&gt;       ...<br>
&gt;&gt;<br>
&gt;&gt; So a PaintOp that will support merged painting can overwrite<br>
&gt;&gt; supportsMergedPainting() and return true and<br>
&gt;&gt; we can test from the outside if this mode is supported an enable/disable<br>
&gt;&gt; the checkbox accordingly.<br>
&gt;&gt; Every derived PaintOp can test if the mode is enabled with<br>
&gt;&gt; mergedPaintingEnabled() an can switch to the needed<br>
&gt;&gt; logic then.<br>
&gt;&gt;<br>
&gt;&gt; Just tell me your opinion (talking to all devs). Or maybe someone has a<br>
&gt;&gt; better solution for this :D.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; It sounds good to me! I got this mail privately, maybe we should open up the discussion on the mailing list.<br>
&gt;<br>
:-/ was a mistake. It was supposed to go to the list :D<br>
</blockquote></div><div><br></div>I tried the branch, but did get very smooth results for smudge. Looks like this: <a href="http://i.imgur.com/z1NaK.png">http://i.imgur.com/z1NaK.png</a><div>I haven&#39;t compared to the old smudge, but this looks wrong to me.</div>