Geometry Nodes: Add option to force inputs to be single values #112745

Merged
Hans Goudey merged 2 commits from HooglyBoogly/blender:geometry-nodes-single-value into main 2023-09-25 13:39:52 +02:00

2 Commits

Author SHA1 Message Date
Hans Goudey b30fa2bdeb Rename "single_value_only" to "force_non_field" 2023-09-22 18:09:25 -04:00
Hans Goudey a8e72bf06c Geometry Nodes: Add option to force inputs to be single values
Add a checkbox to node group inputs to force inputs to be single values
and not accept varying fields. While this could also be done more
automatically, and it could be argued that forcing the flexibility is
helpful for users who want to use attributes, there are cases where the
field inferencing doesn't work, or the "use attribute" option is just
unhelpful. People use workarounds with primitive nodes to get the same
behavior anyway.
2023-09-22 15:39:49 -04:00