LibOverride: expose PROPOVERRIDE_LIBRARY_INSERTION to py-defined properties.

This will allow add-ons to define Collection properties that support
item insertion in library override context.
This commit is contained in:
2020-09-18 15:21:33 +02:00
parent db314ee7a4
commit 9756c66720

View File

@@ -112,6 +112,11 @@ static const EnumPropertyItem property_flag_override_collection_items[] = {
0,
"No Name",
"Do not use the names of the items, only their indices in the collection"},
{PROPOVERRIDE_LIBRARY_INSERTION,
"USE_INSERTION",
0,
"Use Insertion",
"Allow users to add new items in that collection in library overrides"},
{0, NULL, 0, NULL, NULL},
};