summaryrefslogtreecommitdiff
path: root/libs/ardour/automatable.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-11 00:24:17 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-11 00:24:17 +0000
commite8fede43eeda1fba263f79ac5647bc7abf955733 (patch)
treec5c066483556177eeecb90736997950cf586579b /libs/ardour/automatable.cc
parent19ae4ed6403075647118180c241fd68cbbdc24a6 (diff)
Reset PanControllable StreamPanners when they change.
git-svn-id: svn://localhost/ardour2/branches/3.0@8243 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/automatable.cc')
-rw-r--r--libs/ardour/automatable.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/automatable.cc b/libs/ardour/automatable.cc
index 248bb96b52..03e5ad97c3 100644
--- a/libs/ardour/automatable.cc
+++ b/libs/ardour/automatable.cc
@@ -459,7 +459,7 @@ Automatable::control_factory(const Evoral::Parameter& param)
Panner* panner = dynamic_cast<Panner*>(this);
if (panner) {
StreamPanner& sp (panner->streampanner (param.channel()));
- control = new StreamPanner::PanControllable (_a_session, X_("direction"), sp, param);
+ control = new StreamPanner::PanControllable (_a_session, X_("direction"), &sp, param);
} else {
warning << "PanAutomation for non-Panner" << endl;
}