mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
RegionFx: mark session dirty when adding/removing plugins
This commit is contained in:
parent
e419b314a2
commit
66b3ad79c1
2 changed files with 7 additions and 1 deletions
|
|
@ -2531,6 +2531,7 @@ AudioRegion::remove_plugin (std::shared_ptr<RegionFxPlugin> fx)
|
||||||
send_change (PropertyChange (Properties::region_fx)); // trigger DiskReader overwrite
|
send_change (PropertyChange (Properties::region_fx)); // trigger DiskReader overwrite
|
||||||
}
|
}
|
||||||
RegionFxChanged (); /* EMIT SIGNAL */
|
RegionFxChanged (); /* EMIT SIGNAL */
|
||||||
|
_session.set_dirty ();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2418,7 +2418,11 @@ Region::load_plugin (ARDOUR::PluginType type, std::string const& name)
|
||||||
bool
|
bool
|
||||||
Region::add_plugin (std::shared_ptr<RegionFxPlugin> rfx, std::shared_ptr<RegionFxPlugin> pos)
|
Region::add_plugin (std::shared_ptr<RegionFxPlugin> rfx, std::shared_ptr<RegionFxPlugin> pos)
|
||||||
{
|
{
|
||||||
return _add_plugin (rfx, pos, false);
|
bool rv = _add_plugin (rfx, pos, false);
|
||||||
|
if (rv) {
|
||||||
|
_session.set_dirty ();
|
||||||
|
}
|
||||||
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
@ -2445,6 +2449,7 @@ Region::reorder_plugins (RegionFxList const& new_order)
|
||||||
oiter = _plugins.erase (oiter);
|
oiter = _plugins.erase (oiter);
|
||||||
}
|
}
|
||||||
_plugins.insert (oiter, as_it_will_be.begin (), as_it_will_be.end ());
|
_plugins.insert (oiter, as_it_will_be.begin (), as_it_will_be.end ());
|
||||||
|
_session.set_dirty ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue