Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-02-03 15:02:00 +0300
committerCampbell Barton <campbell@blender.org>2022-02-03 15:02:00 +0300
commit3bf2a6e3c90ea741fb21cd868b49567557ff5306 (patch)
tree4d51a66643de5134a03bd3fc8b65899b50a9bf41 /source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
parent60a09bc1be217f4c89e2cd5f54f73048f8de2bf5 (diff)
Cleanup: use NULL items for the default sample enum
Using this enum quiets a warning when exporting key-maps.
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
index 46c2acf112a..1234a56853c 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
@@ -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;