Skip to content

Commit c797877

Browse files
authored
Fix regression in previous commit where node parameter updates didn't refresh the render (#2761)
fix changes in propeties panel not updating
1 parent d8d2a51 commit c797877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/src/messages/portfolio/document/node_graph/node_graph_message_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ impl<'a> MessageHandler<NodeGraphMessage, NodeGraphHandlerData<'a>> for NodeGrap
13961396
input,
13971397
});
13981398
responses.add(PropertiesPanelMessage::Refresh);
1399-
if (network_interface.reference(&node_id, selection_network_path).is_none() || input_index == 0) && network_interface.connected_to_output(&node_id, selection_network_path) {
1399+
if !(network_interface.reference(&node_id, selection_network_path).is_none() || input_index == 0) && network_interface.connected_to_output(&node_id, selection_network_path) {
14001400
responses.add(NodeGraphMessage::RunDocumentGraph);
14011401
}
14021402
}

0 commit comments

Comments
 (0)