Fix T56831: Crash - Transfer Weight & changing it's properties.
Usual Undo/Redo case with operators needing evaluated data...
This commit is contained in:
parent
5ae531d813
commit
eadf0f3d70
Notes:
blender-bot
2023-02-14 05:52:32 +01:00
Referenced by issue #56831, Crash - Transfer Weight & changing it's properties
|
@ -531,7 +531,7 @@ void OBJECT_OT_data_transfer(wmOperatorType *ot)
|
|||
ot->check = data_transfer_check;
|
||||
|
||||
/* Flags.*/
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_USE_EVAL_DATA;
|
||||
|
||||
/* Properties.*/
|
||||
prop = RNA_def_boolean(ot->srna, "use_reverse_transfer", false, "Reverse Transfer",
|
||||
|
@ -694,7 +694,7 @@ void OBJECT_OT_datalayout_transfer(wmOperatorType *ot)
|
|||
ot->check = data_transfer_check;
|
||||
|
||||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_USE_EVAL_DATA;
|
||||
|
||||
/* Properties.*/
|
||||
edit_modifier_properties(ot);
|
||||
|
|
Loading…
Reference in New Issue