Blender Git Loki

Git Commits -> Revision fdcae48

Revision fdcae48 by Campbell Barton (master)
September 30, 2021, 07:32 (GMT)
Cleanup: isolate UDIM parameters into a struct

Passing multiple UDIM arguments into the packing function
is awkward especially since the caller may not be using UDIM.

Use an argument to store UDIM packing parameters which can be NULL,
which operates without any UDIM support.

Add a function that extracts these parameters out of the image space
allowing for multiple functions to take UDIM parameters in the future.

Commit Details:

Full Hash: fdcae48663e87ebc2ed0a97916dcdecb3bd03e61
Parent Commit: 2c2516b
Lines Changed: +97, -67

3 Modified Paths:

/source/blender/editors/include/ED_uvedit.h (+16, -4) (Diff)
/source/blender/editors/uvedit/uvedit_islands.c (+20, -21) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+61, -42) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021