mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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:
parent
249bc2f744
commit
8d64ce26c4
11 changed files with 23 additions and 25 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue