From 6ed8c113a25c34c1921c050fd53e7be3a5229870 Mon Sep 17 00:00:00 2001 From: nick_m Date: Wed, 16 Nov 2016 05:03:14 +1100 Subject: [PATCH] Region:;set_state() should always set quarter_note. - fix for 4.x sessions showing notes stacked at session start. --- libs/ardour/region.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/ardour/region.cc b/libs/ardour/region.cc index bc03ba124b..eb320c5cef 100644 --- a/libs/ardour/region.cc +++ b/libs/ardour/region.cc @@ -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 */