diff options
author | Hans Goudey <h.goudey@me.com> | 2021-10-26 20:50:39 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-26 20:50:39 +0300 |
commit | 9fa304bf13e402405351a2c9bc14903c08b557e5 (patch) | |
tree | 1e3f3a918924b46360f657dc6a87ae9c537ae84f /.clang-tidy | |
parent | b6d2bee28f3a232f47de19b26051054e7c863269 (diff) |
Geometry Nodes: Only create instance IDs when they exist
Instance IDs serve no purpose for rendering when they aren't stable from
one frame to the next, and if the index is used in the end anyway, there
is no point in storing a vector of IDs and copying it around.
This commit exposes the `id` attribute on the instances component,
makes it optional-- only generated by default with the distribute points
on faces node.
Since the string to curves node only added the index as each instance's
ID, I removed it. This means that it would be necessary to add the ID
data manually if the initial index actually helps (when deleting only
certain characters, for example).
Differential Revision: https://developer.blender.org/D12980
Diffstat (limited to '.clang-tidy')
0 files changed, 0 insertions, 0 deletions