13
0

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:
Sampo Savolainen 2006-02-14 20:33:49 +00:00
parent 1638bcf7cb
commit 99281692de

View File

@ -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 ();