Cats Blender Plugin 3.6.5.0 (Only for Blender 3.6) #37

Merged
Ghost merged 2 commits from blender-36-dev into blender-36 2024-01-30 16:13:23 +00:00
Ghost commented 2024-01-26 00:21:38 +00:00 (Migrated from git.disroot.org)

This version will be a massive cleanup of cats, removing old obsolete code, moving around the UI, adding the quick access buttons, renaming files so there make more sense and much more. Version 3.6.5.0 won't be out for a good while while I work on making sure it's stable as this will be removing and changing alot of code.

The current change log is the following (Subject to change will update as more stuff is added):

Added:

  • Added Combine materials button to quick access, this combines all the same materials.
  • Added Join all meshes button to quick access.
  • Added is_default_object which checks whether an object is one of the default found on both type and data name. This change will make this code easier to maintain especially if blender changes the default object names.
  • Added MMD options submenu, this will house only mmd suff, this includes the old fi model button, however certain function have been removed in favor of manual buttons.
  • Added fix material button to mmd options.

Changed:

  • Changed the model section to Quick Access, I thought this made more sense because having two menus called Model and Model Options next to each other seem a bit silly and the top panel is going to be where the quick buttons will live to quickly do things. These buttons will replace the old fix model button.
  • Changed explanation of when you use the plugin on a newer unsupported version of blender.
  • Re-arrange the sub menu's slightly, this is still subject to change before release.
  • supporter.py has been renamed to iconloader.py, this is because that's all it does now, the submenu's translations have also been updated.
  • armature.py has been renamed to quickaccess.py, the submenu's translations have also been updated.
  • model.py has been renamed to optheroptions.py, in blender this was Model Options, which is now called other options, name may change again before release. the submenu's translations have also been updated.
  • Changed name of materials tab in the optimization tab to materials and meshes.
  • Moved join meshes button to the materials and meshes tab in optimization.
  • moved merge bone weights to the bone merging tab in optimization.
  • Fixing materials will clean material names before fixing them.
  • Joining meshes will apply transforms before joining them.
  • Join meshes will now also ensure lock on location, rotation and scale are not locked.
  • Moved most bones related button from other options to optimization submenu so everything is in the same place.
  • Moved remove doubles to the optimization menu as it makes sense for it to be here.
  • Further wording changes.

Fixed:

  • Fixed issue when importing a model via cats, this should fix the error popping up when importing the first time.
  • Fixed issue where materials would not fix due to if context.scene.fix_materials: (If the check mark in the old Fix Model was not checked, it would not work even with the manual button).

Removed:

  • Remove 2.79 checks as not needed anymore seeing as we don't support that version of blender at all.
  • Removed old obsolete eye tracking code.
  • Removed a random icon.py file, it was a copy of supporter.py but it did nothing.
  • Removed all the old patreon supporter code from the supporter.py and renamed it to iconloader, this code was still being executed even though there is no panel anymore.
  • Cleanup of translations, removed old and obsolete stuff.
  • Removed old Fix Model button in favour of the Fix MMD model button in the mmd options submenu.
  • Further cleanup of old code which was still # out and not removed for some reason.
  • Removed Fix Materials code from armature, not needed anymore.
  • Removed old Combine Materials code from Armature.
  • Removed Old Join meshes code from Armature.
  • Removed old default settings for fix model, Join Meshes and Combine Materials.

Outstanding:

  • Cleanup as much old code as possible.
  • Remove code which is aimed at older versions of blender, there still code intended for blender 2.79 even though cats hasn't supported that version for a while.
  • Work on UI changes, add buttons to quick access and move UI around so it makes more sense.
  • Fix any known outstanding issues with the plugin.
  • Test the plugin, ensure the changes have not broken anything.
  • Update wiki with new changes.

Possible outstanding, however depends how hard this is to add.

  • Attempt to update the updater so it can detect two different type of releases so I can also do releases for blender 4.0. The idea is the updater will know it's using blender 4.0 so it will only look for 4.0.x releases and vice versa for 3.6 however I not sure how hard this will be to do.
This version will be a massive cleanup of cats, removing old obsolete code, moving around the UI, adding the quick access buttons, renaming files so there make more sense and much more. Version 3.6.5.0 won't be out for a good while while I work on making sure it's stable as this will be removing and changing alot of code. The current change log is the following (Subject to change will update as more stuff is added): Added: - Added Combine materials button to quick access, this combines all the same materials. - Added Join all meshes button to quick access. - Added is_default_object which checks whether an object is one of the default found on both type and data name. This change will make this code easier to maintain especially if blender changes the default object names. - Added MMD options submenu, this will house only mmd suff, this includes the old fi model button, however certain function have been removed in favor of manual buttons. - Added fix material button to mmd options. Changed: - Changed the model section to Quick Access, I thought this made more sense because having two menus called Model and Model Options next to each other seem a bit silly and the top panel is going to be where the quick buttons will live to quickly do things. These buttons will replace the old fix model button. - Changed explanation of when you use the plugin on a newer unsupported version of blender. - Re-arrange the sub menu's slightly, this is still subject to change before release. - supporter.py has been renamed to iconloader.py, this is because that's all it does now, the submenu's translations have also been updated. - armature.py has been renamed to quickaccess.py, the submenu's translations have also been updated. - model.py has been renamed to optheroptions.py, in blender this was Model Options, which is now called other options, name may change again before release. the submenu's translations have also been updated. - Changed name of materials tab in the optimization tab to materials and meshes. - Moved join meshes button to the materials and meshes tab in optimization. - moved merge bone weights to the bone merging tab in optimization. - Fixing materials will clean material names before fixing them. - Joining meshes will apply transforms before joining them. - Join meshes will now also ensure lock on location, rotation and scale are not locked. - Moved most bones related button from other options to optimization submenu so everything is in the same place. - Moved remove doubles to the optimization menu as it makes sense for it to be here. - Further wording changes. Fixed: - Fixed issue when importing a model via cats, this should fix the error popping up when importing the first time. - Fixed issue where materials would not fix due to if context.scene.fix_materials: (If the check mark in the old Fix Model was not checked, it would not work even with the manual button). Removed: - Remove 2.79 checks as not needed anymore seeing as we don't support that version of blender at all. - Removed old obsolete eye tracking code. - Removed a random icon.py file, it was a copy of supporter.py but it did nothing. - Removed all the old patreon supporter code from the supporter.py and renamed it to iconloader, this code was still being executed even though there is no panel anymore. - Cleanup of translations, removed old and obsolete stuff. - Removed old Fix Model button in favour of the Fix MMD model button in the mmd options submenu. - Further cleanup of old code which was still # out and not removed for some reason. - Removed Fix Materials code from armature, not needed anymore. - Removed old Combine Materials code from Armature. - Removed Old Join meshes code from Armature. - Removed old default settings for fix model, Join Meshes and Combine Materials. Outstanding: - [x] Cleanup as much old code as possible. - [x] Remove code which is aimed at older versions of blender, there still code intended for blender 2.79 even though cats hasn't supported that version for a while. - [x] Work on UI changes, add buttons to quick access and move UI around so it makes more sense. - [x] Fix any known outstanding issues with the plugin. - [x] Test the plugin, ensure the changes have not broken anything. - [x] Update wiki with new changes. Possible outstanding, however depends how hard this is to add. - [x] Attempt to update the updater so it can detect two different type of releases so I can also do releases for blender 4.0. The idea is the updater will know it's using blender 4.0 so it will only look for 4.0.x releases and vice versa for 3.6 however I not sure how hard this will be to do.
Ghost commented 2024-01-27 16:08:00 +00:00 (Migrated from git.disroot.org)

The main changes have been done, i may make further UI changes though. Before I release this version I need to make sure the Wiki is fully updated and etc, however I still working on the UI changes as I still don't 100% like it.

The main changes have been done, i may make further UI changes though. Before I release this version I need to make sure the Wiki is fully updated and etc, however I still working on the UI changes as I still don't 100% like it.
Ghost commented 2024-01-28 18:50:52 +00:00 (Migrated from git.disroot.org)

This version is now release candidate ready, I just need to update the wiki and just do my finale tests of the plugin.

This version is now release candidate ready, I just need to update the wiki and just do my finale tests of the plugin.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Kneelawk/Cats-Blender-Plugin!37
No description provided.