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:
parent
0fe48475db
commit
a1c28e4535
@ -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 ();
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user