fix mono pan automation updates

git-svn-id: svn://localhost/ardour2/branches/3.0@13725 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Robin Gareus 2012-12-23 23:15:47 +00:00
parent 9f748df39e
commit 53d6327e7b
1 changed files with 5 additions and 0 deletions

View File

@ -112,6 +112,9 @@ PannerUI::set_panner (boost::shared_ptr<PannerShell> ps, boost::shared_ptr<Panne
delete _stereo_panner;
_stereo_panner = 0;
delete _mono_panner;
_mono_panner = 0;
if (!_panner) {
return;
}
@ -419,6 +422,8 @@ PannerUI::effective_pan_display ()
{
if (_stereo_panner) {
_stereo_panner->queue_draw ();
} else if (_mono_panner) {
_mono_panner->queue_draw ();
} else if (twod_panner) {
twod_panner->queue_draw ();
}