Fix T64232: crash on Weight from Bones redo

This commit is contained in:
Philipp Oeser
2019-05-07 09:29:31 +02:00
parent 5ba6dbfb18
commit 86e14463d2

View File

@@ -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(