Blender
V3.3
|
Go to the source code of this file.
Functions | |
void | MOD_nodes_update_interface (struct Object *object, struct NodesModifierData *nmd) |
void MOD_nodes_update_interface | ( | struct Object * | object, |
struct NodesModifierData * | nmd | ||
) |
Rebuild the list of properties based on the sockets exposed as the modifier's node group inputs. If any properties correspond to the old properties by name and type, carry over the values.
Definition at line 643 of file MOD_nodes.cc.
References attribute_name_suffix, BLI_assert, BLI_strdup(), DEG_id_tag_update(), IDPropertyUIData::description, IDProperty::flag, Object::id, id_property_create_from_socket(), id_property_type_matches_socket(), ID_RECALC_GEOMETRY, IDP_AddToGroup(), IDP_AssignString(), IDP_CopyPropertyContent(), IDP_FLAG_OVERRIDABLE_LIBRARY, IDP_FreeProperty(), IDP_GetPropertyFromGroup(), IDP_GROUP, IDP_Int, IDP_INT, IDP_New(), IDP_NewString(), IDP_STRING, IDP_ui_data_ensure(), IDP_ui_data_free(), bNodeTree::inputs, LISTBASE_FOREACH, LISTBASE_FOREACH_INDEX, MAX_NAME, NodesModifierData::node_group, bNodeTree::outputs, NodesModifierSettings::properties, NodesModifierData::settings, SOCK_GEOMETRY, socket_type_has_attribute_toggle(), IDProperty::ui_data, and use_attribute_suffix.
Referenced by blender::bke::NodeTreeMainUpdater::update_rooted().