diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-17 16:18:27 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-17 16:18:27 +0000 |
commit | 5576faf943f875cc13b807bdd0d3d99eb2714ff2 (patch) | |
tree | 93dd90feefee2831e7f3722f9357270e7d84f33c /gtk2_ardour/route_time_axis.cc | |
parent | 81aef8b49138deea084942740de8dbfa2e30edc1 (diff) |
Clean up some confusion with AutomationControls in AutomationTimeAxisViews that have regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@8883 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 00007bab58..3f9e40cf76 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -1861,8 +1861,8 @@ RouteTimeAxisView::add_processor_automation_curve (boost::shared_ptr<Processor> = boost::dynamic_pointer_cast<AutomationControl>(processor->control(what, true)); pan->view = boost::shared_ptr<AutomationTimeAxisView>( - new AutomationTimeAxisView (_session, _route, processor, control, - _editor, *this, false, parent_canvas, name, state_name)); + new AutomationTimeAxisView (_session, _route, processor, control, control->parameter (), + _editor, *this, false, parent_canvas, name, state_name)); pan->view->Hiding.connect (sigc::bind (sigc::mem_fun(*this, &RouteTimeAxisView::processor_automation_track_hidden), pan, processor)); @@ -2407,7 +2407,7 @@ RouteTimeAxisView::create_gain_automation_child (const Evoral::Parameter& param, } gain_track.reset (new AutomationTimeAxisView (_session, - _route, _route->amp(), c, + _route, _route->amp(), c, param, _editor, *this, false, |