mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-10-01 16:38:13 +08:00
Fix triple graph evaluation on Windows by removing hash-based ExecutionRequest dedupe
This commit is contained in:
@@ -145,10 +145,7 @@ impl NodeRuntime {
|
|||||||
// TODO: Currently we still render the document after we submit the node graph execution request.
|
// TODO: Currently we still render the document after we submit the node graph execution request.
|
||||||
// This should be avoided in the future.
|
// This should be avoided in the future.
|
||||||
requests.reverse();
|
requests.reverse();
|
||||||
requests.dedup_by_key(|x| match x {
|
requests.dedup_by(|a, b| matches!(a, NodeRuntimeMessage::ExecutionRequest(_)) && matches!(b, NodeRuntimeMessage::ExecutionRequest(_)));
|
||||||
NodeRuntimeMessage::ExecutionRequest(x) => Some(x.graph.current_hash()),
|
|
||||||
_ => None,
|
|
||||||
});
|
|
||||||
requests.reverse();
|
requests.reverse();
|
||||||
for request in requests {
|
for request in requests {
|
||||||
match request {
|
match request {
|
||||||
|
|||||||
Reference in New Issue
Block a user