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
Notes: blender-bot 2023-02-14 08:58:01 +01:00
Referenced by issue #64232, Crash applying automatic weights
1 changed files with 1 additions and 1 deletions

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(