Add Merge Visible; update Merge Down & Normalize
authorAndrew Chadwick <andrewc-git@piffle.org>
Sun, 1 Jun 2014 01:48:31 +0000 (02:48 +0100)
committerAndrew Chadwick <andrewc-git@piffle.org>
Sun, 1 Jun 2014 23:14:23 +0000 (00:14 +0100)
commit8f64dde4eb4117d27af08f4bf734cb805afc5f23
treeb73de5c1a9a4377cc982968dcaabdeb603f9f0b9
parent5c8961691d684e0bad6a4b896988d3d36dd9a994
Add Merge Visible; update Merge Down & Normalize

* Convert Normalize to a tree operation, since it requires tree knowledge
* Allow layer groups to be normalized (flattens them against backdrop)
* Internally, normalize is now a function without side-effects on the tree
* Implement Merge Visible
* Merge Down now works with any pair of normalizable layers
* Icon rename, just in case we need an icon for Merge Visible
* Merge Down now makes combined names if the input names are "interesting"
desktop/icons/hicolor/scalable/actions/mypaint-layer-merge-down-symbolic.svg [new file with mode: 0644]
desktop/icons/hicolor/scalable/actions/mypaint-layer-merge-symbolic.svg [deleted file]
gui/document.py
gui/layerswindow.py
gui/layerswindow.xml
gui/menu.xml
gui/resources.xml
lib/command.py
lib/document.py
lib/layer.py