Fix T64230: Crash on weight paint gradient redo

This commit is contained in:
Campbell Barton 2019-05-07 15:14:30 +10:00
parent 0e2bafccf7
commit 73e7c9d589
Notes: blender-bot 2023-10-13 01:54:23 +02:00
Referenced by issue #64230, Gradient weight paint crash when changing ti radial
1 changed files with 1 additions and 1 deletions

View File

@ -880,7 +880,7 @@ void PAINT_OT_weight_gradient(wmOperatorType *ot)
ot->cancel = WM_gesture_straightline_cancel;
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_USE_EVAL_DATA;
prop = RNA_def_enum(ot->srna, "type", gradient_types, 0, "Type", "");
RNA_def_property_flag(prop, PROP_SKIP_SAVE);