diff options
author | Bastien Montagne <bastien@blender.org> | 2020-12-11 12:52:23 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-12-11 12:53:08 +0300 |
commit | f7e5f96f56b1594c718232a9541c35389f23abab (patch) | |
tree | 302b587074659c914d19707068c357028af01f85 /source/blender/modifiers | |
parent | b62a9ef66faad1ba37dde053af3394eca9559e46 (diff) |
GeometryNodes: Make properties exposed in modifier overridable.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_nodes.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index 35cb1dc7410..29ed08f0367 100644 --- a/source/blender/modifiers/intern/MOD_nodes.cc +++ b/source/blender/modifiers/intern/MOD_nodes.cc @@ -439,6 +439,8 @@ static IDProperty *socket_add_property(IDProperty *settings_prop_group, IDProperty *prop = property_type.create_prop(socket, new_prop_name); IDP_AddToGroup(settings_prop_group, prop); + prop->flag |= IDP_FLAG_OVERRIDABLE_LIBRARY; + /* Make the group in the ui container group to hold the property's UI settings. */ IDProperty *prop_ui_group; { |