<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
> paintDevice stores selection of the mask instead of the result image. Is it<br>
> expected behavior?<br>
</div>Yes, that is what gimp and photoshop show too. And with boudewijn we concluded<br>
that it is what makes most sense. If we want to show a preview of the applied<br>
result, we could show it in the tooltip.<br></blockquote><div><br>Ok, thanks. I was a bit of confused because of copy-paste naming =)<br><br>Maybe:<br>s/originalDevice/selection<br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><br>
> Could you explain why is thumbnail created from paintDevice() instead of<br>
> original()?<br>
</div>Isn't the original of a mask null ? Because my first attempt was to use<br>
"original()" (actually moving the thumbnail code from KisLayer to<br>
KisBaseNode), since I expected the data of the mask to be in "original()", but<br>
I got a null "original()" for the transparency mask.<font color="#888888"><br>
</font></blockquote><div><br>Sorry, i got remembered that KisMask does not inherit KisLayer too late to write =)<br><br>For Boud:<br>Boud, could you revert this misleading part of r1030899 and move original() and projection() back to KisLayer as pure virtual methods? I've been writing to you about that already... original() and projection() is nothing for masks so they shouldn't be present in KisNode and return bogus values...<br>
<br></div></div><br><br clear="all"><br>-- <br>Dmitry Kazakov<br>