summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/midi_time_axis.cc4
-rw-r--r--gtk2_ardour/route_time_axis.cc4
2 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc
index f85a006c4f..d08e40b8ef 100644
--- a/gtk2_ardour/midi_time_axis.cc
+++ b/gtk2_ardour/midi_time_axis.cc
@@ -864,6 +864,10 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
_route->describe_parameter(param)
)
);
+
+ if (_view) {
+ _view->foreach_regionview (sigc::mem_fun (*track.get(), &TimeAxisView::add_ghost));
+ }
add_automation_child (param, track, show);
}
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);
}