implemented "value hints" for choosing output values to use

This commit is contained in:
itsmattkc
2021-09-17 20:56:53 -07:00
parent a5e7859e1f
commit 67c7c71ca2
30 changed files with 439 additions and 85 deletions
+2 -1
View File
@@ -741,8 +741,9 @@ void MainWindow::UpdateNodePanelContextFromTimelinePanel(TimelinePanel *panel)
context.append(viewer);
}
QVector<Node*> old_contexts = node_panel_->GetCurrentContexts();
node_panel_->SetGraph(viewer ? viewer->parent() : nullptr, context);
if (viewer) {
if (viewer && context != old_contexts) {
node_panel_->SelectWithDependencies(context, false);
}
}