Region:;set_state() should always set quarter_note.

- fix for 4.x sessions showing notes stacked at session start.
This commit is contained in:
nick_m 2016-11-16 05:03:14 +11:00
parent ac6f44d92b
commit 6ed8c113a2

View File

@ -1316,6 +1316,8 @@ Region::_set_state (const XMLNode& node, int /*version*/, PropertyChange& what_c
}
}
_quarter_note = _session.tempo_map().quarter_note_at_beat (_beat);
/* fix problems with old sessions corrupted by impossible
values for _stretch or _shift
*/