Got images working

- does not do UVs yet
- is able to pack images using a split algorithm. I think I broke the size finding though for the output canvas.
- does not combine materials after packing
This commit is contained in:
989onan
2024-07-14 23:55:20 -04:00
parent e875f9192a
commit 942e7e2868
6 changed files with 360 additions and 21 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ def toposort(deps_dict):
unsorted.append(value)
deps_dict = {value : deps_dict[value] - sorted_values for value in unsorted}
sort_order(sorted_list) #to sort by 'bl_order' so we can choose how things may appear in the ui
#sort_order(sorted_list) #to sort by 'bl_order' so we can choose how things may appear in the ui
return sorted_list