Blender Git Commit Log
Git Commits -> Revision 9a6fd69
Revision 9a6fd69 by Germano Cavalcante (master) May 12, 2021, 02:45 (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: 9a6fd6999329f8e8c60493d0b259fd7052e014aa
Parent Commit: cb385a1
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)
/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)