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.
This commit is contained in:
Bastien Montagne 2020-09-02 14:59:58 +02:00
parent 1aa54d4921
commit 09ef199965
Notes: blender-bot 2023-02-14 02:43:21 +01:00
Referenced by issue #80396, Potential candidates for corrective releases
1 changed files with 5 additions and 5 deletions

View File

@ -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 ???