Fix T64669: Redo transform fails with constrained axis

This commit is contained in:
Campbell Barton 2019-06-07 14:11:54 +10:00
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
1 changed files with 1 additions and 1 deletions

View File

@ -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];