Remove weird/pointless Automatable::data().

git-svn-id: svn://localhost/ardour2/branches/3.0@6637 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2010-02-05 20:03:57 +00:00
parent 249bc2f744
commit 8d64ce26c4
11 changed files with 23 additions and 25 deletions

View file

@ -283,7 +283,7 @@ AudioTimeAxisView::ensure_pan_views (bool show)
for (p = params.begin(); p != params.end(); ++p) {
boost::shared_ptr<ARDOUR::AutomationControl> pan_control
= boost::dynamic_pointer_cast<ARDOUR::AutomationControl>(
_route->panner()->data().control(*p));
_route->panner()->control(*p));
if (pan_control->parameter().type() == NullAutomation) {
error << "Pan control has NULL automation type!" << endmsg;