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:
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.c9
1 files changed, 2 insertions, 7 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 eea79bad789..8eb2ebd0f19 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
@@ -120,13 +120,8 @@ static int weight_from_bones_exec(bContext *C, wmOperator *op)
Mesh *me = ob->data;
int type = RNA_enum_get(op->ptr, "type");
- ED_object_vgroup_calc_from_armature(op->reports,
- depsgraph,
- scene,
- ob,
- armob,
- type,
- (me->editflag & ME_EDIT_VERTEX_GROUPS_X_SYMMETRY));
+ ED_object_vgroup_calc_from_armature(
+ op->reports, depsgraph, scene, ob, armob, type, (me->symmetry & ME_SYMMETRY_X));
DEG_id_tag_update(&me->id, 0);
DEG_relations_tag_update(CTX_data_main(C));