[Bf-blender-cvs] [0ed4fa65418] blender-v2.90-release: PY API doc: fix doc for new override option of properties.
Bastien Montagne
noreply at git.blender.org
Mon Sep 21 09:50:32 CEST 2020
Commit: 0ed4fa6541891416a9ff57c796f8fdb758151eea
Author: Bastien Montagne
Date: Wed Sep 2 14:59:58 2020 +0200
Branches: blender-v2.90-release
https://developer.blender.org/rB0ed4fa6541891416a9ff57c796f8fdb758151eea
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 830acd987d9..1da845507f5 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 ???
More information about the Bf-blender-cvs
mailing list