diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-05-07 10:29:31 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-05-07 10:49:51 +0300 |
commit | 86e14463d2da8854e2778db43145c457ddc2ac16 (patch) | |
tree | 2b9a264e0be02aec9a9af06c3facbf3002a43758 /source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c | |
parent | 5ba6dbfb18245875a8806a2faeb8aeed217f992c (diff) |
Fix T64232: crash on Weight from Bones redo
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.c | 2 |
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 9ad1775e0e6..c904bf2005b 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c +++ b/source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c @@ -161,7 +161,7 @@ void PAINT_OT_weight_from_bones(wmOperatorType *ot) ot->poll = weight_from_bones_poll; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; + ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_USE_EVAL_DATA; /* properties */ ot->prop = RNA_def_enum( |