[Bf-blender-cvs] [86e14463d2d] master: Fix T64232: crash on Weight from Bones redo
Philipp Oeser
noreply at git.blender.org
Tue May 7 09:54:19 CEST 2019
Commit: 86e14463d2da8854e2778db43145c457ddc2ac16
Author: Philipp Oeser
Date: Tue May 7 09:29:31 2019 +0200
Branches: master
https://developer.blender.org/rB86e14463d2da8854e2778db43145c457ddc2ac16
Fix T64232: crash on Weight from Bones redo
===================================================================
M source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
===================================================================
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(
More information about the Bf-blender-cvs
mailing list