diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-25 20:11:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-10-25 20:11:42 +0000 |
commit | bcd511aa3fec59e1527c8b7ab80dabda4db1a6f9 (patch) | |
tree | 0e704409baaaa22a43b918adc126c76990208f5f /libs/ardour/insert.cc | |
parent | 1b39adc4ce8566fd731cf433094b1faf4fe63205 (diff) |
fixes for endemic (compiler?) issues with virtual inheritance of sigc::trackable. NOTE: automation list undo/redo no longer operational, fix to follow
git-svn-id: svn://localhost/ardour2/trunk@1007 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/insert.cc')
-rw-r--r-- | libs/ardour/insert.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/libs/ardour/insert.cc b/libs/ardour/insert.cc index d64cce36f9..5531e4136b 100644 --- a/libs/ardour/insert.cc +++ b/libs/ardour/insert.cc @@ -81,7 +81,9 @@ PluginInsert::PluginInsert (Session& s, boost::shared_ptr<Plugin> plug, Placemen init (); +#ifdef STATE_MANAGER save_state (_("initial state")); +#endif { Glib::Mutex::Lock em (_session.engine().process_lock()); @@ -100,7 +102,9 @@ PluginInsert::PluginInsert (Session& s, const XMLNode& node) set_automatable (); +#ifdef STATE_MANAGER save_state (_("initial state")); +#endif _plugins[0]->ParameterChanged.connect (mem_fun (*this, &PluginInsert::parameter_changed)); @@ -125,7 +129,9 @@ PluginInsert::PluginInsert (const PluginInsert& other) init (); +#ifdef STATE_MANAGER save_state (_("initial state")); +#endif RedirectCreated (this); /* EMIT SIGNAL */ } @@ -841,16 +847,22 @@ PortInsert::PortInsert (Session& s, Placement p) : Insert (s, p, 1, -1, 1, -1) { init (); +#ifdef STATE_MANAGER save_state (_("initial state")); RedirectCreated (this); /* EMIT SIGNAL */ +#endif + } PortInsert::PortInsert (const PortInsert& other) : Insert (other._session, other.placement(), 1, -1, 1, -1) { init (); +#ifdef STATE_MANAGER save_state (_("initial state")); RedirectCreated (this); /* EMIT SIGNAL */ +#endif + } void |