assert() that the tempo & Meter markers associated with a BBT marker exist
This commit is contained in:
parent
a5055a2227
commit
076320430a
@ -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));
|
group->Event.connect (sigc::bind (sigc::mem_fun (editor, &PublicEditor::canvas_bbt_marker_event), group, this));
|
||||||
|
|
||||||
tempo_marker = editor.find_marker_for_tempo (p);
|
tempo_marker = editor.find_marker_for_tempo (p);
|
||||||
|
assert (tempo_marker);
|
||||||
meter_marker = editor.find_marker_for_meter (p);
|
meter_marker = editor.find_marker_for_meter (p);
|
||||||
|
assert (meter_marker);
|
||||||
}
|
}
|
||||||
|
|
||||||
BBTMarker::~BBTMarker ()
|
BBTMarker::~BBTMarker ()
|
||||||
|
Loading…
Reference in New Issue
Block a user