Blender Git Commit Log

Git Commits -> Revision a285299

Revision a285299 by Siddhartha Jejurkar (master)
September 29, 2021, 07:53 (GMT)
UV: Pack to closest/active UDIM

Implements T78397
Extends the functionality of pack islands operator to allow packing UVs
to either the closest or active UDIM tile.
This provides 2 new options for packing UVs :

* Closest UDIM: Selected UVs will be packed to the UDIM tile they were
placed on. If not present on a valid UDIM tile, the UVs will be packed
to the closest UDIM in UV space
* Active UDIM: Selected UVs will be packed to the active UDIM image tile
In case, no image is present in the UV editor, then UVs will be packed
to the tile on the UDIM grid where the 2D cursor is located.

Reviewed By: campbellbarton

Maniphest Tasks: T78397

Ref D12680

Commit Details:

Full Hash: a285299ebbf9dcb6af5734d3933b4836d38c188f
Parent Commit: bf06f76
Committed By: Campbell Barton
Lines Changed: +247, -6

3 Modified Paths:

/source/blender/editors/include/ED_uvedit.h (+5, -0) (Diff)
/source/blender/editors/uvedit/uvedit_islands.c (+174, -2) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+68, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021