<div class="gmail_quote">On Sun, Jul 17, 2011 at 9:09 AM, Cyrille Berger Skott <span dir="ltr"><<a href="mailto:cberger@cberger.net">cberger@cberger.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Sunday 17 July 2011, Sven Langkamp wrote:<br>
> On Sat, Jul 16, 2011 at 10:17 PM, Sven Langkamp<br>
<<a href="mailto:sven.langkamp@gmail.com">sven.langkamp@gmail.com</a>>wrote:<br>
> > On Sat, Jul 16, 2011 at 10:06 PM, Cyrille Berger Skott <<br>
</div><div class="im">> > Hmm I somehow saved the wrong diff and reverted the other code :/<br>
> ><br>
> > I also tried the params method. That was called by the result was exactly<br>
> > the same as when I didn't overwrite anything.<br>
><br>
> Correction. Right code after all. I checked and at least the method is<br>
> called, but does nothing.<br>
<br>
</div>Maybe you can write a unit test ? It should not be too difficult to create some<br>
small buffers that exhibits the result you want, and then if the unit test<br>
fails, I can have a look.<br></blockquote><div><br>I have added a unit test (KisPainterTest::testBltToSelection). It does bitBlt a black rect on a selection and check if that area is MIN_SELECTED. <br></div></div>