13
0

when adding existing processor automation time axis views, use add_automation_child(), not add_child() so that subsequent searches for this automation time axis view by parameter will find it, and not create a duplicate track

git-svn-id: svn://localhost/ardour2/branches/3.0@9700 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-06-09 20:34:29 +00:00
parent 071cc3ef01
commit 2a5118270c

View File

@ -1917,7 +1917,7 @@ RouteTimeAxisView::add_processor_automation_curve (boost::shared_ptr<Processor>
pan->menu_item->set_active (true);
}
add_child (pan->view);
add_automation_child (control->parameter(), pan->view, true);
if (_view) {
_view->foreach_regionview (sigc::mem_fun(*pan->view.get(), &TimeAxisView::add_ghost));