Set up layering_index immediately on an explicit layer, so that undo
authorCarl Hetherington <carl@carlh.net>
Fri, 30 Dec 2011 20:05:48 +0000 (20:05 +0000)
committerCarl Hetherington <carl@carlh.net>
Fri, 30 Dec 2011 20:05:48 +0000 (20:05 +0000)
commitdd53e7284ae1ef8ae594cb1a34db6500f944eab3
tree88efed9f99a937cb065f8cbff81c441d8d3abcfb
parent2c23ff8ceb51297aee7ae71d96e9b61dc9089343
Set up layering_index immediately on an explicit layer, so that undo
works properly.  Stop the layer being a stateful property, as it is
always derived from layering_index, unambigiously, by relayer().

git-svn-id: svn://localhost/ardour2/branches/3.0@11120 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/editor_drag.cc
libs/ardour/ardour/playlist.h
libs/ardour/ardour/region.h
libs/ardour/audio_diskstream.cc
libs/ardour/audio_playlist.cc
libs/ardour/audioregion.cc
libs/ardour/midi_playlist.cc
libs/ardour/playlist.cc
libs/ardour/region.cc