Blender Git Commit Log

Git Commits -> Revision 14d56b4

Revision 14d56b4 by Pablo Dobarro (master)
October 20, 2020, 20:52 (GMT)
UI: Add angle snapping to line gesture tools

This adds support for snapping for line gesture tool. It is implemented
in the modal keymap as Snap, which is a toggle (similar to how snapping
in the transform operator works).

Right now it snaps the angle of the line to 15 degree increments, which
is defined in code. This should be easy to expose in the UI in the future
if we need to.

Reviewed By: Severin

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

Commit Details:

Full Hash: 14d56b4217f857eb78239051593c2391f9227b99
Parent Commit: cf8aa20
Lines Changed: +52, -2

5 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_gesture_ops.c (+42, -0) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+3, -2) (Diff)
/source/blender/windowmanager/wm_event_types.h (+3, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021