mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
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
This commit is contained in:
parent
81aef8b491
commit
5576faf943
7 changed files with 37 additions and 28 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue