Skip to content

Commit d008e8d

Browse files
committed
Fix Blend Shapes path input wire not updating to show in the UI after Layer > Blend
1 parent 2db2350 commit d008e8d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

editor/src/messages/portfolio/document/utility_types/network_interface.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4005,6 +4005,14 @@ impl NodeNetworkInterface {
40054005
}
40064006
}
40074007
(_, NodeInput::Node { node_id: upstream_node_id, .. }) => {
4008+
// If the old input wasn't exposed but the new one is (`Node` inputs are always exposed),
4009+
// the node's port count changed, so its click targets need to be recomputed
4010+
if !old_input.is_exposed()
4011+
&& let InputConnector::Node { node_id, .. } = input_connector
4012+
{
4013+
self.unload_node_click_targets(node_id, network_path);
4014+
}
4015+
40084016
// Load structure if the change is to the document network and to the first or second
40094017
if network_path.is_empty() {
40104018
if matches!(input_connector, InputConnector::Export(0)) {

0 commit comments

Comments
 (0)