diff options
author | Bastien Montagne <bastien@blender.org> | 2020-09-02 15:59:58 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-09-02 15:59:58 +0300 |
commit | 09ef19996509fff4694b65ba8a5146f543d2ec57 (patch) | |
tree | 5e96d1ba01a51a349a7aded9bfd5fa718abcb6c4 /source/blender/python | |
parent | 1aa54d4921c2e8d7114f463a940c169ee573f557 (diff) |
PY API doc: fix doc for new override option of properties.
Reported by Demeter Dzadik (@Mets) on blender.chat, thanks.
Candidate to be backported to a potential 2.90.1.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_props.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c index 859f0027f14..a78ed601d57 100644 --- a/source/blender/python/intern/bpy_props.c +++ b/source/blender/python/intern/bpy_props.c @@ -93,13 +93,13 @@ static const EnumPropertyItem property_flag_override_items[] = { "LIBRARY_OVERRIDABLE", 0, "Library Overridable", - "Allow that property to be overridable from library linked data-blocks"}, + "Make that property editable in library overrides of linked data-blocks"}, {0, NULL, 0, NULL, NULL}, }; #define BPY_PROPDEF_OPTIONS_OVERRIDE_DOC \ - " :arg options: Enumerator in ['LIBRARY_OVERRIDE'].\n" \ - " :type options: set\n" + " :arg override: Enumerator in ['LIBRARY_OVERRIDABLE'].\n" \ + " :type override: set\n" static const EnumPropertyItem property_flag_override_collection_items[] = { {PROPOVERRIDE_OVERRIDABLE_LIBRARY, @@ -116,8 +116,8 @@ static const EnumPropertyItem property_flag_override_collection_items[] = { }; #define BPY_PROPDEF_OPTIONS_OVERRIDE_COLLECTION_DOC \ - " :arg options: Enumerator in ['LIBRARY_OVERRIDE', 'NO_PROPERTY_NAME'].\n" \ - " :type options: set\n" + " :arg override: Enumerator in ['LIBRARY_OVERRIDABLE', 'NO_PROPERTY_NAME'].\n" \ + " :type override: set\n" /* subtypes */ /* XXX Keep in sync with rna_rna.c's rna_enum_property_subtype_items ??? |