Nodes: Avoid updating topology cache when changing properties #104431

Closed
Hans Goudey wants to merge 1 commits from HooglyBoogly:node-update-property-avoid-topology-cache into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

1 Commits

Author SHA1 Message Date
Hans Goudey cea6dd9a07 Nodes: Avoid updating topology cache when changing properties
Changing a property on a node or socket doesn't change the topology
of the node tree directly, so when only those tags are present, we don't
have to tag the topology cache dirty and update it.

This can save a few milliseconds per update when editing a large node tree.
Note that the topology cache still has to be recreated for the CoW node tree
though, so this doesn't resolve all of the unnecessary calculation.
2023-02-07 14:07:42 -05:00