Blender Git Commit Log

Git Commits -> Revision a967780

Revision a967780 by Lukas Toenne (node-editor-edge-pan)
April 25, 2021, 15:29 (GMT)
Add transform option to disable cursor wrapping.

Transform operator had cursor wrapping categorically enabled, but this
gets quite confusing with the edge scrolling mechanism. A new TransInfo
option T_NO_CURSOR_WRAP has been introduced to disable this behavior.
The double negative is a bit annoying, but want to avoid affecting the
existing transform modes, so by default it should still set the
OP_IS_MODAL_GRAB_CURSOR flag (which then sets the WM_CURSOR_WRAP_XY
flag during modal execution).

Commit Details:

Full Hash: a967780fd7b5f34043749b3f72bd043c7e0b3d8b
Parent Commit: c6ae967
Lines Changed: +9, -2

3 Modified Paths:

/source/blender/editors/transform/transform.h (+3, -0) (Diff)
/source/blender/editors/transform/transform_convert_node.c (+3, -0) (Diff)
/source/blender/editors/transform/transform_ops.c (+3, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021