Blender Git Commit Log

Git Commits -> Revision ee5bfde

Revision ee5bfde by Germano Cavalcante (master)
May 20, 2021, 14:05 (GMT)
Fix T87947: Trasnform: Keyboard input uses view orientation

When activated in modal, `translate`, `resize`, `rotate`, `shear` and
`edge_rotate_normal` use a different orientation than the set in scene.

This orientation needed to match since some of these modes can be switched
during operation.

The default orientation for these modes was `V3D_ORIENT_VIEW`.

And this changed when finishing the `translate` and `resize` to
`V3D_ORIENT_GLOBAL`.

But this could cause inconsistencies when inputting values from the
keyboard.

The solution now is to change the orientation when you change the mode.

---
Note: Although the user can expect the value entered to reflect the
orientation set in the scene, it would require a lot of changes and would
not be really useful.

Commit Details:

Full Hash: ee5bfde9e6eda215499f5586a502444ff3945bfa
Parent Commit: 47f4f3c
Lines Changed: +54, -40

11 Modified Paths:

/source/blender/editors/transform/transform.c (+0, -19) (Diff)
/source/blender/editors/transform/transform.h (+2, -0) (Diff)
/source/blender/editors/transform/transform_generics.c (+6, -17) (Diff)
/source/blender/editors/transform/transform_mode.c (+35, -0) (Diff)
/source/blender/editors/transform/transform_mode.h (+1, -0) (Diff)
/source/blender/editors/transform/transform_mode_edge_rotate_normal.c (+2, -0) (Diff)
/source/blender/editors/transform/transform_mode_resize.c (+2, -0) (Diff)
/source/blender/editors/transform/transform_mode_rotate.c (+2, -0) (Diff)
/source/blender/editors/transform/transform_mode_shear.c (+2, -0) (Diff)
/source/blender/editors/transform/transform_mode_translate.c (+2, -0) (Diff)
/source/blender/editors/transform/transform_orientations.c (+0, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021