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
|
@ -864,6 +864,10 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
|
||||||
_route->describe_parameter(param)
|
_route->describe_parameter(param)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (_view) {
|
||||||
|
_view->foreach_regionview (sigc::mem_fun (*track.get(), &TimeAxisView::add_ghost));
|
||||||
|
}
|
||||||
|
|
||||||
add_automation_child (param, track, show);
|
add_automation_child (param, track, show);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2443,6 +2443,10 @@ RouteTimeAxisView::create_gain_automation_child (const Evoral::Parameter& param,
|
||||||
false,
|
false,
|
||||||
parent_canvas,
|
parent_canvas,
|
||||||
_route->amp()->describe_parameter(param)));
|
_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);
|
add_automation_child (Evoral::Parameter(GainAutomation), gain_track, show);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user