Blender Git Commit Log

Git Commits -> Revision 908b383

Revision 908b383 by Campbell Barton (master)
January 20, 2021, 06:07 (GMT)
UV: tweak face select behavior

When the mouse cursor is inside the UV face,
extend the selection threshold.

This means when zoomed in, a face can always be selected when the cursor
is inside it.
In the case of multiple overlapping faces - the face with the closest
center is used.

----

Prior to 246efd7286f6187e4dd4b3edcc79cccb1746bb1d, the UV selection
threshold was scaled by the zoom level, so selecting a face when zoomed
in close would often often select faces even when the on-screen center
was outside the intended threshold.

Having a zoom-independent threshold may require more precision than
users are used to.

This change addresses this.

Commit Details:

Full Hash: 908b383b7d2199c0c614d085ff65a03eb7852274
Parent Commit: 9f337be
Lines Changed: +56, -4

2 Modified Paths:

/source/blender/editors/uvedit/uvedit_intern.h (+11, -0) (Diff)
/source/blender/editors/uvedit/uvedit_select.c (+45, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021