diff options
author | John Emmas <johne53@tiscali.co.uk> | 2013-07-17 18:15:51 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2013-07-17 18:15:51 +0100 |
commit | 5f15bc9f9fe8decfab02db7821b7b15e1d7d95ac (patch) | |
tree | 643463d8f156a7ee6b4daa1c776e5ae2a9da16e0 /libs/ardour/route.cc | |
parent | eeabf89d19214bb075709009a76b3354c4332ccf (diff) | |
parent | 82d351f6ca3214ef77df555aca853e18137b7ab4 (diff) |
Merge branch 'windows' of git.ardour.org:ardour/ardour into windows
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index c6f588a79c..797481b7b8 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -2562,21 +2562,10 @@ Route::set_processor_state (const XMLNode& node) continue; } -#ifndef NO_PLUGIN_STATE if (processor->set_state (**niter, Stateful::current_state_version) != 0) { /* This processor could not be configured. Turn it into a UnknownProcessor */ processor.reset (new UnknownProcessor (_session, **niter)); } -#else - if (boost::dynamic_pointer_cast<PluginInsert>(processor)) { - if (processor->set_state (**niter, Stateful::current_state_version) != 0) { - /* This processor could not be configured. Turn it into a UnknownProcessor */ - processor.reset (new UnknownProcessor (_session, **niter)); - } - } else { - /* plugin, but ::set_state() not * allowed no message here - things will get too verbose */ - } -#endif /* we have to note the monitor send here, otherwise a new one will be created and the state of this one will be lost. |