Fix pan updates for routes with single panners. Fixes #3066.
git-svn-id: svn://localhost/ardour2/branches/3.0@6880 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -659,7 +659,7 @@ PannerUI::pan_value_changed (uint32_t which)
|
||||
{
|
||||
ENSURE_GUI_THREAD (*this, &PannerUI::pan_value_changed, which)
|
||||
|
||||
if (_panner->npanners() > 1 && which < _panner->npanners()) {
|
||||
if (_panner->npanners() > 0 && which < _panner->npanners()) {
|
||||
float xpos;
|
||||
float val = pan_adjustments[which]->get_value ();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user