TexTools-Blender icon indicating copy to clipboard operation
TexTools-Blender copied to clipboard

Cleanup and add some functions, and fix bugs

Open Oxicid opened this issue 1 year ago • 2 comments

  1. Added prefs and tt_settings functions for easier readability

  2. replaced format function with f-string (they are more readable and faster).

  3. Fixed some PEPs, deleted unused code sections and the latest

  4. GitHub adds suffixes like -master, -blender etc, the user when installing an addon, it creates 2 such addons, the inclusion of one, causes the release of rna data of the previous version of the addon, and the corresponding error is given, and the panels are incorrectly released, or to be more precise not released at all, causing errors in the console or duplicated many times, clogging all the menus. Handle this error is not enough not to reload blender, I have changed the system reload modules, now it is forced, it gets rid of many problems, and develop addon more convenient (because I do not work the old reload modules, and have to reload blender, and so turned on and off addon and all the changes are made), yes a slight overhead has, but not essential.

  5. Fixed baking Dust and Element ID, the error occurred when the object already had a vertex color, but another type, and indexing from this broke, made indexing through them

Oxicid avatar Apr 22 '24 01:04 Oxicid

I also noticed that UV bake does not work, and organize does not always work (for example, you add 2 cubes, on one you need to add Bevel, and the organizer will not work, to work you need to move a little one cube, apparently errors in the accuracy of float).

But I will deal with them, after I implement a new matching system, which is almost ready, it remains to remove the old system of matching collections, I do not like it much.

But first I need you to accept the commit on Randomize and on this fixes.

Oxicid avatar Apr 22 '24 01:04 Oxicid

Hi, when can you check this PR, it's just that Bake System has a lot of bugs that need to be resolved

Oxicid avatar Jun 06 '24 13:06 Oxicid