File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
editor/src/messages/portfolio/document/utility_types Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change @@ -4107,21 +4107,7 @@ impl NodeNetworkInterface {
41074107 }
41084108 }
41094109
4110- let tagged_value = if let InputConnector :: Node { node_id, input_index } = input_connector {
4111- self . reference ( node_id, network_path)
4112- . and_then ( |reference| resolve_document_node_type ( & reference) )
4113- . and_then ( |node_definition| node_definition. node_template . document_node . inputs . get ( * input_index) . cloned ( ) )
4114- . and_then ( |node_input| {
4115- if let NodeInput :: Value { tagged_value, .. } = node_input {
4116- Some ( ( * tagged_value) . clone ( ) )
4117- } else {
4118- None
4119- }
4120- } )
4121- . unwrap_or_else ( || self . tagged_value_from_input ( input_connector, network_path) )
4122- } else {
4123- self . tagged_value_from_input ( input_connector, network_path)
4124- } ;
4110+ let tagged_value = self . tagged_value_from_input ( input_connector, network_path) ;
41254111
41264112 let value_input = NodeInput :: value ( tagged_value, true ) ;
41274113
You can’t perform that action at this time.
0 commit comments