projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Region:;set_state() should always set quarter_note.
[ardour.git]
/
libs
/
ardour
/
region.cc
diff --git
a/libs/ardour/region.cc
b/libs/ardour/region.cc
index bc03ba124b10741608b5a405ecce0a5286d0c17f..eb320c5cef8353f14129cd33427cdb318d8d1b36 100644
(file)
--- 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
*/