Create ghost regions when automation tracks are added, as well as on session reload (#3801).
git-svn-id: svn://localhost/ardour2/branches/3.0@8973 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d74d488cd4
commit
8f7db269cb
|
@ -865,6 +865,10 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
|
|||
)
|
||||
);
|
||||
|
||||
if (_view) {
|
||||
_view->foreach_regionview (sigc::mem_fun (*track.get(), &TimeAxisView::add_ghost));
|
||||
}
|
||||
|
||||
add_automation_child (param, track, show);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2444,5 +2444,9 @@ RouteTimeAxisView::create_gain_automation_child (const Evoral::Parameter& param,
|
|||
parent_canvas,
|
||||
_route->amp()->describe_parameter(param)));
|
||||
|
||||
if (_view) {
|
||||
_view->foreach_regionview (sigc::mem_fun (*gain_track.get(), &TimeAxisView::add_ghost));
|
||||
}
|
||||
|
||||
add_automation_child (Evoral::Parameter(GainAutomation), gain_track, show);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user