13
0

Check for panner_shell rather than panner before

connecting to it.  This means that we connect to mono
routes (without panners) so that if they do get panners
we find out about it.  Should help with #5093.


git-svn-id: svn://localhost/ardour2/branches/3.0@13190 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-09-15 12:18:41 +00:00
parent dd7c0dcf30
commit d80482dddf

View File

@ -105,7 +105,7 @@ AudioTimeAxisView::set_route (boost::shared_ptr<Route> rt)
create_automation_child (GainAutomation, false);
}
if (_route->panner()) {
if (_route->panner_shell()) {
_route->panner_shell()->Changed.connect (*this, invalidator (*this),
boost::bind (&AudioTimeAxisView::ensure_pan_views, this, false), gui_context());
}