mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
fix crash when dragging BBT marker (must use audio time)
This commit is contained in:
parent
47e9bb05c8
commit
451fb3e761
1 changed files with 4 additions and 1 deletions
|
|
@ -3444,7 +3444,10 @@ BBTMarkerDrag::finished (GdkEvent* event, bool movement_occurred)
|
|||
string name (_point->name());
|
||||
|
||||
map->remove_bartime (*_point);
|
||||
map->set_bartime (bbt, _marker->position(), name);
|
||||
|
||||
/* bartime must be set using audio time */
|
||||
|
||||
map->set_bartime (bbt, timepos_t (_marker->position().samples()), name);
|
||||
|
||||
_editor->commit_tempo_map_edit (map, true);
|
||||
XMLNode &after = map->get_state();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue