Fix T48998: 'header input' of rotation transform was clamped in [-PI, PI[ range.

Can't see any reason for this behavior (inherited from 2.4x code), so for now just removing it.
This commit is contained in:
Bastien Montagne 2016-08-02 12:41:43 +02:00
parent c6398a525d
commit fb94f4b884

@ -3997,10 +3997,8 @@ static void applyRotation(TransInfo *t, const int UNUSED(mval[2]))
applySnapping(t, &final);
if (applyNumInput(&t->num, &final)) {
/* Clamp between -PI and PI */
final = angle_wrap_rad(final);
}
/* Used to clamp final result in [-PI, PI[ range, no idea why, inheritance from 2.4x area, see T48998. */
applyNumInput(&t->num, &final);
t->values[0] = final;