Blender Git Loki

Git Commits -> Revision f9e994d

Revision f9e994d by Germano Cavalcante (master)
November 27, 2020, 13:41 (GMT)
Fix T83092: Direction of rotation with View orientation changed in 2.91

The change was intentional so that the orientation matrices match
(`rv3d->viewinv` becomes equal to the orientation matrix).

But, although in a projection matrix the Z axis is negative, this
should not be so from the user's point of view.

So the solution here is to negate the Z axis when the View orientation
is chosen.

This affects all modes, but is only evident for rotation.

---
Another change here is to use the final rotation value (`values_final`)
for the gizmo drawing since this value can be changed by the mode.

Commit Details:

Full Hash: f9e994d0f463abb87761591e30c47a9613be6cca
Parent Commit: 24e57ee
Lines Changed: +5, -4

3 Modified Paths:

/source/blender/editors/transform/transform_gizmo_3d.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_mode_shear.c (+2, -2) (Diff)
/source/blender/editors/transform/transform_orientations.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021