summaryrefslogtreecommitdiff
path: root/libs/ardour/session_state.cc
diff options
context:
space:
mode:
authorValeriy Kamyshniy <vkamyshniy@wavesglobal.com>2015-04-03 01:31:44 +0300
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:12 -0400
commit8505c16057a074531a99728e730408151d7aafa4 (patch)
treed6c77ce3780e4db45ef4bed73ca5a99aac4ea4c2 /libs/ardour/session_state.cc
parent125c5e224c964b98ae2a460aa36494231cad3f66 (diff)
[Summary] Just adding comment for better code-maintaining.
Diffstat (limited to 'libs/ardour/session_state.cc')
-rw-r--r--libs/ardour/session_state.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index f0045fb0c2..891c37e04c 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -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 ());