pull/1582/head
Piero Toffanin 2023-01-11 16:01:48 -05:00
rodzic 64544f3c41
commit 280ba2c50b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -203,7 +203,7 @@ def pack(obj, background=(0,0,0,0), format="PNG", extents=None):
# using filename so we can pass back UV info without storing it in image
blocks.append(Block(w, h, data=(filename, mat, changes)))
use_3dmesh
# sort by width, descending (widest first)
blocks.sort(key=lambda block: -block.w)