API Doc: Add note to 'liboverride' bpy props flag about ancestors.
For a property to be overridable, all of its ancestors properties also need to be defined as such. Missing doc reported in #127125.
This commit is contained in:
@@ -207,21 +207,22 @@ const EnumPropertyItem rna_enum_property_flag_enum_items[] = {
|
||||
{0, nullptr, 0, nullptr, nullptr},
|
||||
};
|
||||
|
||||
static const EnumPropertyItem rna_enum_property_item_library_overridable{
|
||||
PROPOVERRIDE_OVERRIDABLE_LIBRARY,
|
||||
"LIBRARY_OVERRIDABLE",
|
||||
0,
|
||||
"Library Overridable",
|
||||
"Make that property editable in library overrides of linked data-blocks.\n"
|
||||
"NOTE: For a property to be overridable, its whole chain of parent properties must also be "
|
||||
"defined as overridable"};
|
||||
|
||||
const EnumPropertyItem rna_enum_property_override_flag_items[] = {
|
||||
{PROPOVERRIDE_OVERRIDABLE_LIBRARY,
|
||||
"LIBRARY_OVERRIDABLE",
|
||||
0,
|
||||
"Library Overridable",
|
||||
"Make that property editable in library overrides of linked data-blocks"},
|
||||
rna_enum_property_item_library_overridable,
|
||||
{0, nullptr, 0, nullptr, nullptr},
|
||||
};
|
||||
|
||||
const EnumPropertyItem rna_enum_property_override_flag_collection_items[] = {
|
||||
{PROPOVERRIDE_OVERRIDABLE_LIBRARY,
|
||||
"LIBRARY_OVERRIDABLE",
|
||||
0,
|
||||
"Library Overridable",
|
||||
"Make that property editable in library overrides of linked data-blocks"},
|
||||
rna_enum_property_item_library_overridable,
|
||||
{PROPOVERRIDE_NO_PROP_NAME,
|
||||
"NO_PROPERTY_NAME",
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user