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:
authorHans Goudey <h.goudey@me.com>2021-09-17 04:49:10 +0300
committerHans Goudey <h.goudey@me.com>2021-09-17 04:49:10 +0300
commit8e21d528cab98447fd072718a649906551de78d9 (patch)
tree930d9144bd0c810593243954cb156b0d82e09cc9 /source/blender/editors/metaball
parent4fa0bbb5ac3db31cd0ce6f765ee9eb93566f1e53 (diff)
Geometry Nodes: Add a toggle to use attributes as input values
This adds a toggle to node group inputs exposed in the modifier to use an attribute instead of a single value. When the toggle is pressed, the button switches to a text button to choose an attribute name. Attribute search isn't implemented here yet. One confusing thing is that some values can't be driven by attributes at all, like the size of a primitive node. In that case, we should have a node warning, but that will be separate since it's more general. We can also have an option to turn off this toggle in node group input settings. The two new properties for each input are stored with the same name as the value, but with `"_use_attribute"` and `"_attribute_name"`` suffixes. The properties are not added for socket types that don't support attribute input, like object sockets. Differential Revision: https://developer.blender.org/D12504
Diffstat (limited to 'source/blender/editors/metaball')
0 files changed, 0 insertions, 0 deletions