mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
assert() that the tempo & Meter markers associated with a BBT marker exist
This commit is contained in:
parent
a5055a2227
commit
076320430a
1 changed files with 2 additions and 0 deletions
|
|
@ -888,7 +888,9 @@ BBTMarker::BBTMarker (PublicEditor& editor, ArdourCanvas::Item& parent, std::str
|
|||
group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_bbt_marker_event), group, this));
|
||||
|
||||
tempo_marker = editor.find_marker_for_tempo (p);
|
||||
assert (tempo_marker);
|
||||
meter_marker = editor.find_marker_for_meter (p);
|
||||
assert (meter_marker);
|
||||
}
|
||||
|
||||
BBTMarker::~BBTMarker ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue