Blender Git Loki

Git Commits -> Revision 6f35f54

Revision 6f35f54 by Germano Cavalcante
November 18, 2021, 21:37 (GMT)
Allow navigating while transforming

This feature has been desired for some time:
- https://rightclickselect.com/p/ui/Tqbbbc/allow-navigating-while-transforming (See comments);
- D1583;
- T37427;

In short, blocking navigation during transform limits the user to move the object only to visible areas within the screen and hinders the allocation of objects within closed meshes.

The node editor is also impaired because some nodes are far between them and the connectors are too small.

The only disadvantage of this patch (as I see it) is the conflict with the existing key map:
MIDDLEMOUSE:
- enable axis constrain in 3D view;

WHEELDOWNMOUSE, WHEELUPMOUSE, PAGEUPKEY, PAGEDOWNKEY:
- change the threshold of the proportional edit;

So the patch solution was to change these keymaps:
- MIDDLEMOUSE to Alt+MIDDLEMOUSE;
- WHEELDOWNMOUSE, WHEELUPMOUSE, PAGEUPKEY, PAGEDOWNKEY to Alt+(corresponding key);

When you use this new keymap for the first time in the proportional edit, it may seem strange due to the custom of using it (both in View2D and View3D).
But quickly the user gets used to it.

Alternatively we can add an option to the user preferences ([] Allow navigating while transforming). (I'm not much fan of this option).

The patch was done on branch2.8. But maybe it's a good idea to apply it to 2.79

Differential Revision: https://developer.blender.org/D2624

Commit Details:

Full Hash: 6f35f54b980a16db7c5223dbe903f860ef3faa11
Parent Commit: 3f288e9
Lines Changed: +549, -29

13 Modified Paths:

/release/scripts/startup/bl_ui/space_userpref.py (+8, -0) (Diff)
/source/blender/editors/transform/transform.c (+0, -5) (Diff)
/source/blender/editors/transform/transform.h (+6, -0) (Diff)
/source/blender/editors/transform/transform_convert_node.c (+8, -8) (Diff)
/source/blender/editors/transform/transform_generics.c (+58, -14) (Diff)
/source/blender/editors/transform/transform_input.c (+26, -0) (Diff)
/source/blender/editors/transform/transform_ops.c (+331, -0) (Diff)
/source/blender/makesdna/DNA_userdef_types.h (+2, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operator_utils.c (+101, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)
/source/blender/windowmanager/wm_event_system.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021