Blender Git Loki

Git Commits -> Revision 035fa79

August 4, 2021, 00:49 (GMT)
UV: Edge selection support - Initial

* Add UV edge selection flag - MLOOPUV_EDGESEL
* Refactor existing UV element selection functions to use the edge
selection flag wherever required
* Refactor existing UV element check functions to ensure proper
selection states using the edge selection flag
* Refactor UV select all operator to use edge selection flag
* New functions for selecting vertices or edges that share the same
location, either on 3D mesh or in UV space.
* Add small penalty for finding the nearest UV edge. Ensures that UV edge
selection will select other edges sharing the same location in
successive selection attempts.
* Expose UV edge selection flag as boolean in Python

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

Commit Details:

Full Hash: 035fa7985d270fae197dfd155c7937b24e16e244
Parent Commit: 0d2589d
Lines Changed: +376, -76

8 Modified Paths:

/source/blender/editors/include/ED_uvedit.h (+14, -0) (Diff)
/source/blender/editors/uvedit/uvedit_intern.h (+2, -0) (Diff)
/source/blender/editors/uvedit/uvedit_path.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_select.c (+347, -73) (Diff)
/source/blender/editors/uvedit/uvedit_smart_stitch.c (+1, -1) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+4, -0) (Diff)
/source/blender/python/bmesh/bmesh_py_types_meshdata.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021