diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-26 23:48:43 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-26 23:48:43 +0000 |
commit | 8f7db269cbddd717c18ea3a34c89e44bf038c63b (patch) | |
tree | df02bbc76296977a3e92625b75ee2387019e65b2 /gtk2_ardour/route_time_axis.cc | |
parent | d74d488cd4e2e5d6e0d340cea8b99fc880459244 (diff) |
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
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index 1730725fe7..0429fd75f9 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -2443,6 +2443,10 @@ RouteTimeAxisView::create_gain_automation_child (const Evoral::Parameter& param, false, 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); } |