--===============0589288674== Content-Type: multipart/alternative; boundary=001485f772a2cc7239047936f817 --001485f772a2cc7239047936f817 Content-Type: text/plain; charset=UTF-8 > > > paintDevice stores selection of the mask instead of the result image. Is > it > > expected behavior? > Yes, that is what gimp and photoshop show too. And with boudewijn we > concluded > that it is what makes most sense. If we want to show a preview of the > applied > result, we could show it in the tooltip. > Ok, thanks. I was a bit of confused because of copy-paste naming =) Maybe: s/originalDevice/selection > > > Could you explain why is thumbnail created from paintDevice() instead of > > original()? > Isn't the original of a mask null ? Because my first attempt was to use > "original()" (actually moving the thumbnail code from KisLayer to > KisBaseNode), since I expected the data of the mask to be in "original()", > but > I got a null "original()" for the transparency mask. > Sorry, i got remembered that KisMask does not inherit KisLayer too late to write =) For Boud: 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... -- Dmitry Kazakov --001485f772a2cc7239047936f817 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> paintDevice stores selection of the mask instead of the result image. = Is it
> expected behavior?
Yes, that is what gimp and photoshop show too. And with boudewijn we = concluded
that it is what makes most sense. If we want to show a preview of the appli= ed
result, we could show it in the tooltip.

Ok, thank= s. I was a bit of confused because of copy-paste naming =3D)

Maybe:<= br>s/originalDevice/selection

=C2=A0

> Could you explain why is thumbnail created from paintDevice() instead = of
> original()?
Isn't the original of a mask null ? Because my first attempt was = to use
"original()" (actually moving the thumbnail code from KisLayer to=
KisBaseNode), since I expected the data of the mask to be in "original= ()", but
I got a null "original()" for the transparency mask.

Sorry, i got remembered that KisMask does not = inherit KisLayer too late to write =3D)

For Boud:
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 a= bout that already... original() and projection() is nothing for masks so th= ey shouldn't be present in KisNode and return bogus values...




--
Dmitry Kazakov
--001485f772a2cc7239047936f817-- --===============0589288674== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============0589288674==--