Fix error in recent commit

Unused argument in rB216ebe0b7392d6
This commit is contained in:
Germano Cavalcante 2021-01-31 10:26:54 -03:00
parent a80c0ee167
commit 419c67c851
Notes: blender-bot 2023-11-20 12:14:32 +01:00
Referenced by issue #83216, Potential candidates for corrective releases
1 changed files with 3 additions and 3 deletions

View File

@ -548,15 +548,15 @@ static void constraints_rotation_imp(TransInfo *t,
switch (mode) {
case CON_AXIS0:
case (CON_AXIS1 | CON_AXIS2):
negate_v3_v3(r_vec, t->spacemtx[0]);
negate_v3_v3(r_vec, axismtx[0]);
break;
case CON_AXIS1:
case (CON_AXIS0 | CON_AXIS2):
negate_v3_v3(r_vec, t->spacemtx[1]);
negate_v3_v3(r_vec, axismtx[1]);
break;
case CON_AXIS2:
case (CON_AXIS0 | CON_AXIS1):
negate_v3_v3(r_vec, t->spacemtx[2]);
negate_v3_v3(r_vec, axismtx[2]);
break;
}
/* don't flip axis if asked to or if num input */