projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e689182
)
Use the stored beat to recalculate pulse when setting position as sub_num is irrelevent.
author
nick_m
<mainsbridge@gmail.com>
Thu, 1 Sep 2016 19:13:53 +0000
(
05:13
+1000)
committer
nick_m
<mainsbridge@gmail.com>
Thu, 1 Sep 2016 19:13:53 +0000
(
05:13
+1000)
libs/ardour/region.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/region.cc
b/libs/ardour/region.cc
index 05f79271d5366fac5121fa109f8e0583132f6ad4..3bd0bd273cbd5076610c01b284f435eed2f29ab5 100644
(file)
--- a/
libs/ardour/region.cc
+++ b/
libs/ardour/region.cc
@@
-677,7
+677,7
@@
Region::set_position_internal (framepos_t pos, bool allow_bbt_recompute, const i
recompute_position_from_lock_style (sub_num);
} else {
/* MusicTime dictates that we glue to ardour beats. the pulse may have changed.*/
- _pulse = _session.tempo_map().
exact_qn_at_frame (_position, sub_num) / 4.0
;
+ _pulse = _session.tempo_map().
pulse_at_beat (_beat)
;
}
/* check that the new _position wouldn't make the current