Fixed crash with plugin automation but no panners.
git-svn-id: svn://localhost/trunk/ardour2@328 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1638bcf7cb
commit
99281692de
@ -557,7 +557,7 @@ PannerUI::pan_value_changed (uint32_t which)
|
||||
{
|
||||
ENSURE_GUI_THREAD (bind (mem_fun(*this, &PannerUI::pan_value_changed), which));
|
||||
|
||||
if (which < _io.panner().size()) {
|
||||
if (_io.n_outputs() > 1 && which < _io.panner().size()) {
|
||||
float xpos;
|
||||
float val = pan_adjustments[which]->get_value ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user