koffice/krita/core

Boudewijn Rempt boud at valdyas.org
Sat Dec 31 11:58:37 CET 2005


On Saturday 31 December 2005 11:55, Cyrille Berger wrote:
> > There is no KisImage::layerAdd() any longer*, I renamed it to
> > newLayer(). The difference is newLayer() creates a new layer and adds
> > it to the image, whereas addLayer() adds an already existing layer.
> > And if new layers should be made active on creation (most likely they
> > should), that should rather be the layerbox's doing, as it's more of a
> > usability than a technical issue...
>
> The problem is that flatten is called internaly by import/export filters
> and they need to be sure that the paint filter is the one selected, it was
> needed when I first make the fix (and that I forgot to commit it) I will
> check if it is still needed.


newLayer had a bug, too, which made it impossible to use on a KisImage with no 
layers yet. See my simultaneous commit.


-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20051231/8ae03259/attachment.pgp


More information about the kimageshop mailing list