Fix T64669: Redo transform fails with constrained axis
This commit is contained in:
parent
5b2907ab69
commit
bfb05ee154
Notes:
blender-bot
2023-02-14 06:17:17 +01:00
Referenced by issue #64669, Redo operator tweaking fails after transforming with constrained axis
|
@ -2665,7 +2665,7 @@ bool initTransform(bContext *C, TransInfo *t, wmOperator *op, const wmEvent *eve
|
|||
/* Constraint init from operator */
|
||||
if ((t->flag & T_MODAL) ||
|
||||
/* For mirror operator the constraint axes are effectively the values. */
|
||||
(RNA_struct_find_property(op->ptr, "values") == NULL)) {
|
||||
(RNA_struct_find_property(op->ptr, "value") == NULL)) {
|
||||
if ((prop = RNA_struct_find_property(op->ptr, "constraint_axis")) &&
|
||||
RNA_property_is_set(op->ptr, prop)) {
|
||||
bool constraint_axis[3];
|
||||
|
|
Loading…
Reference in New Issue