Move graph breadcrumb trail button into the top bar

This commit is contained in:
Keavon Chambers 2024-07-15 19:53:26 -07:00
parent 857bc772de
commit 8e774efe9d
8 changed files with 25 additions and 41 deletions

View file

@ -1280,7 +1280,6 @@ impl NodeNetwork {
NodeInput::Value { .. } => unreachable!("Value inputs should have been replaced with value nodes"),
NodeInput::Inline(_) => (),
NodeInput::Scope(ref key) => {
log::debug!("flattening scope: {}", key);
let (import_id, _ty) = self.scope_injections.get(key.as_ref()).expect("Tried to import a non existent key from scope");
// TODO use correct output index
nested_node.inputs[nested_input_index] = NodeInput::node(*import_id, 0);