new scoped tempo maps mean we can use scope macro everywhere, for consistency

This commit is contained in:
Paul Davis
2025-08-12 07:54:11 -06:00
parent b205c0bc4b
commit 92267ec7db
3 changed files with 6 additions and 6 deletions

View File

@@ -402,7 +402,7 @@ AudioClipEditor::drop_waves ()
void
AudioClipEditor::set_trigger (TriggerReference& tr)
{
/* NO LOCAL TEMPO SCOPE */
EC_LOCAL_TEMPO_SCOPE;
if (tr == ref) {
return;
@@ -418,7 +418,7 @@ AudioClipEditor::set_trigger (TriggerReference& tr)
void
AudioClipEditor::set_region (std::shared_ptr<Region> region)
{
/* NO LOCAL TEMPO SCOPE */
EC_LOCAL_TEMPO_SCOPE;
CueEditor::set_region (region);

View File

@@ -1158,7 +1158,7 @@ CueEditor::set_track (std::shared_ptr<Track> t)
void
CueEditor::set_region (std::shared_ptr<Region> r)
{
/* NO LOCAL TEMPO SCOPE HERE */
EC_LOCAL_TEMPO_SCOPE;
if (r == _region) {
return;
@@ -1218,7 +1218,7 @@ CueEditor::set_from_rsu (RegionUISettings& rsu)
void
CueEditor::set_trigger (TriggerReference& tref)
{
/* NO TEMPO SCOPE */
EC_LOCAL_TEMPO_SCOPE;
if (tref == ref) {
return;
@@ -1405,7 +1405,7 @@ CueEditor::idle_data_captured ()
void
CueEditor::unset (bool trigger_too)
{
/* NO LOCAL TEMPO SCOPE HERE */
EC_LOCAL_TEMPO_SCOPE;
if (_local_tempo_map) {
end_local_tempo_map ();

View File

@@ -1378,7 +1378,7 @@ Pianoroll::region_prop_change (PBD::PropertyChange const & what_changed)
void
Pianoroll::set_trigger (TriggerReference & tref)
{
/* NO LOCAL TEMPO SCOPE */
EC_LOCAL_TEMPO_SCOPE;
if (ref == tref) {
return;