Commit: 09ef19996509fff4694b65ba8a5146f543d2ec57 Author: Bastien Montagne Date: Wed Sep 2 14:59:58 2020 +0200 Branches: master https://developer.blender.org/rB09ef19996509fff4694b65ba8a5146f543d2ec57
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. =================================================================== M source/blender/python/intern/bpy_props.c =================================================================== 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 ??? _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs