mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Fix a previewed node's dashed output wire appearing at the wrong position (#4282)
* Fix node graph connection to export in wrong place Co-authored-by: James Lindsay <78500760+0HyperCube@users.noreply.github.com> * Review --------- Co-authored-by: James Lindsay <78500760+0HyperCube@users.noreply.github.com>
This commit is contained in:
@@ -4239,6 +4239,10 @@ impl NodeNetworkInterface {
|
||||
}
|
||||
NodeTypePersistentMetadata::Node(_) => {}
|
||||
}
|
||||
// Altering an export may move the connectors meaning the ports must be refreshed.
|
||||
if matches!(input_connector, InputConnector::Export(_)) {
|
||||
self.unload_import_export_ports(network_path);
|
||||
}
|
||||
self.unload_upstream_node_click_targets(vec![*upstream_node_id], network_path);
|
||||
self.unload_stack_dependents(network_path);
|
||||
self.try_set_upstream_to_chain(input_connector, network_path);
|
||||
|
||||
Reference in New Issue
Block a user