Fix regression in previous commit where node parameter updates didn't refresh the render (#2761)

fix changes in propeties panel not updating
This commit is contained in:
0SlowPoke0 2025-06-27 14:12:10 +05:30 committed by GitHub
parent d8d2a51926
commit c797877763
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1396,7 +1396,7 @@ impl<'a> MessageHandler<NodeGraphMessage, NodeGraphHandlerData<'a>> for NodeGrap
input,
});
responses.add(PropertiesPanelMessage::Refresh);
if (network_interface.reference(&node_id, selection_network_path).is_none() || input_index == 0) && network_interface.connected_to_output(&node_id, selection_network_path) {
if !(network_interface.reference(&node_id, selection_network_path).is_none() || input_index == 0) && network_interface.connected_to_output(&node_id, selection_network_path) {
responses.add(NodeGraphMessage::RunDocumentGraph);
}
}