Cleanup: use NULL items for the default sample enum

Using this enum quiets a warning when exporting key-maps.
This commit is contained in:
Campbell Barton 2022-02-03 23:02:00 +11:00
parent 60a09bc1be
commit 3bf2a6e3c9
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ void PAINT_OT_weight_sample_group(wmOperatorType *ot)
/* Group to use (dynamic enum). */
prop = RNA_def_enum(
ot->srna, "group", DummyRNA_DEFAULT_items, 0, "Group", "Vertex group to set as active");
ot->srna, "group", DummyRNA_NULL_items, 0, "Group", "Vertex group to set as active");
RNA_def_enum_funcs(prop, weight_paint_sample_enum_itemf);
RNA_def_property_flag(prop, PROP_ENUM_NO_TRANSLATE);
ot->prop = prop;