[Bf-blender-cvs] [42ba2942355] master: Fix T55461: [Vertex Group] "Delete all unlocked groups" not working.
Bastien Montagne
noreply at git.blender.org
Mon Jan 21 10:37:35 CET 2019
Commit: 42ba2942355c9320d3173f4ea3e374a63f0f8e3a
Author: Bastien Montagne
Date: Mon Jan 21 10:35:55 2019 +0100
Branches: master
https://developer.blender.org/rB42ba2942355c9320d3173f4ea3e374a63f0f8e3a
Fix T55461: [Vertex Group] "Delete all unlocked groups" not working.
===================================================================
M source/blender/editors/object/object_vgroup.c
===================================================================
diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c
index 1e0fe094e2e..9108de3612a 100644
--- a/source/blender/editors/object/object_vgroup.c
+++ b/source/blender/editors/object/object_vgroup.c
@@ -2683,8 +2683,10 @@ void OBJECT_OT_vertex_group_remove(wmOperatorType *ot)
ot->flag = /*OPTYPE_REGISTER|*/ OPTYPE_UNDO;
/* properties */
- RNA_def_boolean(ot->srna, "all", 0, "All", "Remove all vertex groups");
- RNA_def_boolean(ot->srna, "all_unlocked", 0, "All Unlocked", "Remove all unlocked vertex groups");
+ PropertyRNA *prop = RNA_def_boolean(ot->srna, "all", 0, "All", "Remove all vertex groups");
+ RNA_def_property_flag(prop, PROP_SKIP_SAVE);
+ prop = RNA_def_boolean(ot->srna, "all_unlocked", 0, "All Unlocked", "Remove all unlocked vertex groups");
+ RNA_def_property_flag(prop, PROP_SKIP_SAVE);
}
static int vertex_group_assign_exec(bContext *C, wmOperator *UNUSED(op))
More information about the Bf-blender-cvs
mailing list