Save some unnecessary updates of the processor box.

git-svn-id: svn://localhost/ardour2/branches/3.0@6286 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-12-04 21:45:07 +00:00
parent 0fe48475db
commit a1c28e4535
2 changed files with 4 additions and 1 deletions

View File

@ -443,7 +443,6 @@ MixerStrip::set_route (boost::shared_ptr<Route> rt)
/* now force an update of all the various elements */
processor_box.update();
mute_changed (0);
solo_changed (0);
name_changed ();

View File

@ -316,6 +316,10 @@ ProcessorBox::~ProcessorBox ()
void
ProcessorBox::set_route (boost::shared_ptr<Route> r)
{
if (_route == r) {
return;
}
connections.clear ();
/* new route: any existing block on processor redisplay must be meaningless */