projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03dc458
)
unconditionally set region quarter note in set_position().
author
nick_m
<mainsbridge@gmail.com>
Wed, 15 Feb 2017 11:55:51 +0000
(22:55 +1100)
committer
nick_m
<mainsbridge@gmail.com>
Wed, 15 Feb 2017 11:55:51 +0000
(22:55 +1100)
- this fixes incorrect timing of new regions recorded
before the music origin.
libs/ardour/region.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/region.cc
b/libs/ardour/region.cc
index 4cb5ab4dcbefca767173ebd83ea41d986fefb9ed..8640b53a6e4cd3f798ea2ea6cab0b2e561458fd3 100644
(file)
--- a/
libs/ardour/region.cc
+++ b/
libs/ardour/region.cc
@@
-610,9
+610,9
@@
Region::set_position (framepos_t pos, int32_t sub_num)
} else {
if (!_session.loading()) {
_beat = _session.tempo_map().exact_beat_at_frame (pos, sub_num);
+ _quarter_note = _session.tempo_map().quarter_note_at_beat (_beat);
}
- /* will set quarter note accordingly */
set_position_internal (pos, false, sub_num);
}