Fix T64230: Crash on weight paint gradient redo
This commit is contained in:
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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue