Clean-up for KisLayerManager and KisMaskManager

Dmitry Kazakov dimula73 at gmail.com
Fri Apr 16 19:25:14 CEST 2010


Hi, All!

Here is a patch that clean-ups/fixes some flaws in layer creation part. I
don't know where to commit it actually: trunk or koffice-ko...

What it does:

 o Fixes a memory leak in KisMaskManager when the creation of the mask
    is canceled
 o Removed superfluous setDirty() from both managers those caused double
    updates of the image when creating the layer
 o Moved activateNode functionality to KisNodeManager
 o Removed deprecated default functions for creating layers and
    masks. Now the parent of the new mask is chosen by
    KisNodeManager::getNewNodeLocation.

-- 
Dmitry Kazakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kimageshop/attachments/20100416/6d88ef82/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Clean-up-for-KisLayerManager-and-KisMaskManager.patch
Type: text/x-patch
Size: 26290 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20100416/6d88ef82/attachment-0001.patch 


More information about the kimageshop mailing list