new layer merging, convert layer to normal mode
authorMartin Renold <martinxyz@gmx.ch>
Wed, 8 Feb 2012 07:29:37 +0000 (08:29 +0100)
committerMartin Renold <martinxyz@gmx.ch>
Sun, 25 Nov 2012 11:53:23 +0000 (12:53 +0100)
commit2676b95acbcf6e08bee71fe5e2b208ba7ba6a622
tree9fd2c849862bd3a4e92c2f6291f079027583f920
parente00ba7af73e1553631297f39bf4b80d17193fbae
new layer merging, convert layer to normal mode

- layer.py: add convert_to_normal_mode()
- make it an undoable action with menu entry
- use it internally when merging layers

Discussions about merging behaviour:
https://gna.org/bugs/?20295
http://forum.intilinux.com/mypaint-development-and-suggestions/merging-weird-behavior/

The "convert layer to normal mode" may not be a very useful command
on its own. But it can help interoperability, so you don't have to
flatten the whole image if you switch to an application that doesn't
support a particular layer mode.
gui/document.py
gui/menu.xml
gui/mypaint.xml
lib/command.py
lib/document.py
lib/layer.py