mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
changing the start (position) of a marker with a scene change needs to update the SceneChanger
This commit is contained in:
parent
1c832cdd89
commit
15de512e56
1 changed files with 9 additions and 4 deletions
|
|
@ -188,6 +188,14 @@ Location::set_start (framepos_t s, bool force, bool allow_bbt_recompute)
|
|||
end_changed (this); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
/* moving the start (position) of a marker with a scene change
|
||||
requires an update in the Scene Changer.
|
||||
*/
|
||||
|
||||
if (_scene_change) {
|
||||
scene_changed (); /* EMIT SIGNAL */
|
||||
}
|
||||
|
||||
assert (_start >= 0);
|
||||
assert (_end >= 0);
|
||||
|
||||
|
|
@ -203,6 +211,7 @@ Location::set_start (framepos_t s, bool force, bool allow_bbt_recompute)
|
|||
recompute_bbt_from_frames ();
|
||||
}
|
||||
start_changed (this); /* EMIT SIGNAL */
|
||||
|
||||
if (is_session_range ()) {
|
||||
Session::StartTimeChanged (old); /* EMIT SIGNAL */
|
||||
AudioFileSource::set_header_position_offset (s);
|
||||
|
|
@ -536,10 +545,6 @@ Location::set_state (const XMLNode& node, int version)
|
|||
|
||||
if (scene_child) {
|
||||
_scene_change = SceneChange::factory (*scene_child, version);
|
||||
|
||||
if (_scene_change) {
|
||||
_scene_change->set_time (_start);
|
||||
}
|
||||
}
|
||||
|
||||
recompute_bbt_from_frames ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue