mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
a single auto-fication
This commit is contained in:
parent
f895bc2cd9
commit
d479ca55d6
1 changed files with 6 additions and 6 deletions
|
|
@ -4695,22 +4695,22 @@ Editor::add_stripables (StripableList& sl)
|
||||||
|
|
||||||
DisplaySuspender ds;
|
DisplaySuspender ds;
|
||||||
|
|
||||||
for (StripableList::iterator s = sl.begin(); s != sl.end(); ++s) {
|
for (auto & s : sl) {
|
||||||
|
|
||||||
if ((*s)->is_foldbackbus()) {
|
if (s->is_foldbackbus()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((v = std::dynamic_pointer_cast<VCA> (*s)) != 0) {
|
if ((v = std::dynamic_pointer_cast<VCA> (s)) != 0) {
|
||||||
|
|
||||||
VCATimeAxisView* vtv = new VCATimeAxisView (*this, _session, *_track_canvas);
|
VCATimeAxisView* vtv = new VCATimeAxisView (*this, _session, *_track_canvas);
|
||||||
vtv->set_vca (v);
|
vtv->set_vca (v);
|
||||||
track_views.push_back (vtv);
|
track_views.push_back (vtv);
|
||||||
|
|
||||||
(*s)->gui_changed.connect (*this, invalidator (*this), std::bind (&Editor::handle_gui_changes, this, _1, _2), gui_context());
|
s->gui_changed.connect (*this, invalidator (*this), std::bind (&Editor::handle_gui_changes, this, _1, _2), gui_context());
|
||||||
changed = true;
|
changed = true;
|
||||||
|
|
||||||
} else if ((r = std::dynamic_pointer_cast<Route> (*s)) != 0) {
|
} else if ((r = std::dynamic_pointer_cast<Route> (s)) != 0) {
|
||||||
|
|
||||||
if (r->is_auditioner() || r->is_monitor() || r->is_surround_master ()) {
|
if (r->is_auditioner() || r->is_monitor() || r->is_surround_master ()) {
|
||||||
continue;
|
continue;
|
||||||
|
|
@ -4736,7 +4736,7 @@ Editor::add_stripables (StripableList& sl)
|
||||||
|
|
||||||
rtv->view()->RegionViewAdded.connect (sigc::mem_fun (*this, &Editor::region_view_added));
|
rtv->view()->RegionViewAdded.connect (sigc::mem_fun (*this, &Editor::region_view_added));
|
||||||
rtv->view()->RegionViewRemoved.connect (sigc::mem_fun (*this, &Editor::region_view_removed));
|
rtv->view()->RegionViewRemoved.connect (sigc::mem_fun (*this, &Editor::region_view_removed));
|
||||||
(*s)->gui_changed.connect (*this, invalidator (*this), std::bind (&Editor::handle_gui_changes, this, _1, _2), gui_context());
|
s->gui_changed.connect (*this, invalidator (*this), std::bind (&Editor::handle_gui_changes, this, _1, _2), gui_context());
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue