Grim-es / material-combiner-addon

Blender addon for material combining, uv bounds fixing
MIT License
451 stars 36 forks source link

Get unique atlas name by checking save directory #54

Closed Mysteryem closed 10 months ago

Mysteryem commented 1 year ago

Formatting the unique_id to always display at least 5 digits is probably a bit excessive, but I did it to match the previous unique ids that would always be 5 digits. If you want, reduce it by changing the 5 in {0:05d} to a smaller number. With this change, the ids are no longer random and instead start from 1 and increment until a unique id is found. I couldn't see a reason that they needed to remain random.

jellejurre commented 1 year ago

Using this fixed an issue i had where it would not combine my materials, good stuff