13
0

[Summary] Just adding comment for better code-maintaining.

This commit is contained in:
Valeriy Kamyshniy 2015-04-03 01:31:44 +03:00 committed by Paul Davis
parent 125c5e224c
commit 8505c16057

View File

@ -1101,6 +1101,7 @@ Session::state (bool full_state)
XMLNode& locations_state = loc.get_state();
if (ARDOUR::Profile->get_trx() && _locations) {
// For tracks we need stored the Auto Loop Range and all MIDI markers.
for (Locations::LocationList::const_iterator i = _locations->list ().begin (); i != _locations->list ().end (); ++i) {
if ((*i)->is_mark () || (*i)->is_auto_loop ()) {
locations_state.add_child_nocopy ((*i)->get_state ());