auto-disable graphs if their relative fields are disabled

This commit is contained in:
itsmattkc
2019-01-18 20:55:23 +11:00
parent efbf3fa761
commit 7e602284a2
4 changed files with 15 additions and 8 deletions
+3 -1
View File
@@ -745,7 +745,9 @@ void GraphView::set_row(EffectRow *r) {
row = r;
if (row != nullptr) {
field_visibility.resize(row->fieldCount());
field_visibility.fill(true);
for (int i=0;i<row->fieldCount();i++) {
field_visibility[i] = row->field(i)->is_enabled();
}
visible_in = row->parent_effect->parent_clip->timeline_in;
set_view_to_all();
} else {