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>2021-01-14 17:52:08 +0300
committerJacques Lucke <jacques@blender.org>2021-01-14 17:52:08 +0300
commite5ee7e9a2df93d7f28f9e1f8bc0eb2d33dfadfb4 (patch)
treef36c7d02bc3441c75b6233fcaa4b0611df883248 /intern/cycles/CMakeLists.txt
parent53bd58993e2f6d35452242762402c20343d6eef3 (diff)
Geometry Nodes: don't delete existing attribute before new attribute is computed
This fixes the behavior of some nodes when the same attribute name is used for input and output. If both attributes have a different type, they can't exist at the same time. Therefore, the input attribute has to be removed in order to create the output attribute. Previously, the input attribute was remove before it was used in any computations. Now, the output is written to a temporary buffer and only later saved in the geometry component. This allows both attributes to coexist within the node. The temporary attribute is only create when necessary. The normal case without name collisions still works the same as before. Differential Revision: https://developer.blender.org/D10109 Ref T83793.
Diffstat (limited to 'intern/cycles/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions