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.
This commit is contained in:
Jacques Lucke 2021-10-18 12:58:30 +02:00
parent f9fe755dba
commit 6f76bcc12c
1 changed files with 1 additions and 1 deletions

View File

@ -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;