Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-01-10 15:02:25 +0300
committerJacques Lucke <jacques@blender.org>2022-01-10 15:02:57 +0300
commit8dd163160e411c19989a046c1b93c274a3da3e3e (patch)
tree80269fdf08e2d94ea5e6f70593126705bbbdc88e /build_files
parent3ec88ae21df95546914863d80de4a76c8d3e3476 (diff)
Fix T94766: texture coordinates from other object do not refresh
The core issue is that flushing dependencies are created from an object to a node tree when it contains e.g. a Texture Coordinate node. That is an issue because the evaluation of the node tree itself does not depend on the object (node tree evaluation is essentially a no-op). Only other systems that parse and evaluate the node tree in a specific context actually depend on e.g. the position of the referenced object. It can even be the case that the node tree depends on objects that the actual evaluator (geometry nodes modifier/material) does not depend on, because a node is not connected to the output. Geometry nodes makes the distinction between dependencies to the node tree and to the evaluator already. Shader nodes do not. Therefore, shader nodes need a flushing relation from node groups to their parent node groups. This brings back some unnecessary updates from rB7e712b2d6a0d (e.g. when creating a node group from nodes that are not connected to the output). This is a bit unfortunate, but refactoring how dependencies work with shader nodes is a out of scope for this fix.
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions