Fix T76375: UDIM Rectangular Tiled Image EEVEE freezes Blender
When packing the image the height of the tile was checked to the width of the packing area. This resulted that the tile was ignored. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D7784
This commit is contained in:

committed by
Jeroen Bakker

parent
a6646fb0d0
commit
9ac4e4a1c7
Submodule release/datafiles/locale updated: 1d9b8b2ffa...0fd21a7cc3
Submodule release/scripts/addons updated: 47a32a5370...9a9832d5d7
@@ -705,7 +705,7 @@ void BLI_box_pack_2d_fixedarea(ListBase *boxes, int width, int height, ListBase
|
||||
LISTBASE_FOREACH_MUTABLE (FixedSizeBoxPack *, box, boxes) {
|
||||
LISTBASE_FOREACH (FixedSizeBoxPack *, space, &spaces) {
|
||||
/* Skip this space if it's too small. */
|
||||
if (box->w > space->w || box->h > space->w) {
|
||||
if (box->w > space->w || box->h > space->h) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user