diff options
author | Jacques Lucke <jacques@blender.org> | 2021-10-18 13:58:30 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-10-18 13:58:30 +0300 |
commit | 6f76bcc12c179669a819286d289e409d0b63f981 (patch) | |
tree | ee49358315fc6a9dd2a32a0f63ed99dac554eaff /source/blender/modifiers | |
parent | f9fe755dba8e99d3b7ee1fb9b0a1197c5eb5c687 (diff) |
Fix: missing use-attribute property in geometry nodes modifier
The property was missing when a group input changed from not
supporting fields to supporting fields.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_nodes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index 14b40582516..b28fead299d 100644 --- a/source/blender/modifiers/intern/MOD_nodes.cc +++ b/source/blender/modifiers/intern/MOD_nodes.cc @@ -599,7 +599,7 @@ void MOD_nodes_update_interface(Object *object, NodesModifierData *nmd) } } - if (input_has_attribute_toggle(*nmd->node_group, socket_index)) { + if (socket_type_has_attribute_toggle(*socket)) { const std::string use_attribute_id = socket->identifier + use_attribute_suffix; const std::string attribute_name_id = socket->identifier + attribute_name_suffix; |