Blender Git Loki

Git Commits -> Revision 400cb25

Revision 400cb25 by Jesse Yurkovich (master)
August 18, 2021, 04:44 (GMT)
UDIM: Support tile sets that do not start at 1001

Removes the artificial requirement that UDIM tile sets start at 1001.
Blender was already capable of handling sparse tile sets (non-contiguous
tiles) so the restriction around starting at 1001 was unnecessary in
general.

This required fixing a few UDIM-related python bugs around manually
updating the `tile_number` field on images as well. See the differential
for details. No script changes are necessary but they will now work,
correctly, in many more cases.

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

Commit Details:

Full Hash: 400cb25fc77a4131033f69cf328a31cdcf81edb5
Parent Commit: f41beca
Lines Changed: +135, -56

8 Modified Paths:

/intern/cycles/blender/blender_util.h (+5, -1) (Diff)
/source/blender/blenkernel/BKE_image.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+74, -13) (Diff)
/source/blender/blenkernel/intern/image_gpu.c (+2, -1) (Diff)
/source/blender/blenkernel/intern/image_save.c (+12, -6) (Diff)
/source/blender/editors/space_image/image_ops.c (+20, -12) (Diff)
/source/blender/editors/space_image/image_sequence.c (+18, -16) (Diff)
/source/blender/makesrna/intern/rna_image.c (+2, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021