File tree Expand file tree Collapse file tree
messages/portfolio/document/utility_types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4107,7 +4107,18 @@ impl NodeNetworkInterface {
41074107 }
41084108 }
41094109
4110- let tagged_value = self . tagged_value_from_input ( input_connector, network_path) ;
4110+ let mut tagged_value = None ;
4111+ if let InputConnector :: Node { node_id, input_index } = input_connector {
4112+ if let Some ( reference) = self . reference ( node_id, network_path) {
4113+ if let Some ( node_definition) = resolve_document_node_type ( & reference) {
4114+ if let Some ( NodeInput :: Value { tagged_value : default_value, .. } ) = node_definition. node_template . document_node . inputs . get ( * input_index) {
4115+ tagged_value = Some ( ( * * default_value) . clone ( ) ) ;
4116+ }
4117+ }
4118+ }
4119+ }
4120+
4121+ let tagged_value = tagged_value. unwrap_or_else ( || self . tagged_value_from_input ( input_connector, network_path) ) ;
41114122
41124123 let value_input = NodeInput :: value ( tagged_value, true ) ;
41134124
Original file line number Diff line number Diff line change @@ -332,10 +332,6 @@ impl NodeGraphExecutor {
332332 if let Some ( export_config) = execution_context. export_config {
333333 self . process_export ( node_graph_output, export_config, responses) ?;
334334 } else {
335- let recovered = self . graph_render_error ;
336- if recovered {
337- self . last_svg_canvas = None ;
338- }
339335 self . process_node_graph_output ( node_graph_output, responses) ?;
340336 }
341337 responses. add ( DeferMessage :: TriggerGraphRun {
You can’t perform that action at this time.
0 commit comments