Blender Git Loki

Git Commits -> Revision 87310c0

January 13, 2021, 13:51 (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: 87310c0af164db5b7f3de33cf8612c4f490b112d
Parent Commit: b6e84d3
Committed By: Jeroen Bakker
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