Cats Blender Plugin 4.0.3.0 (For blender 4.0) #38

Merged
Ghost merged 1 commit from blender-40-dev into blender-40 2024-01-31 19:25:15 +00:00
Ghost commented 2024-01-30 17:14:53 +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. This will need a bit of testing as there has been ALOT of changes which may not be 100% compatible for Blender 4.0.

The current change log is the following:

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).
  • Blender 4.0 fixes.

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:

  • Blender 4.0 Fixes
  • Fix any known outstanding issues with the blender 4.0 version of the plugin.
  • Test the plugin, ensure the changes have not broken anything.

This release will be the first release for blender 4.0 to be released on the release tab now we got the new updater which can tell the difference between blender versions.

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. This will need a bit of testing as there has been ALOT of changes which may not be 100% compatible for Blender 4.0. The current change log is the following: 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). - Blender 4.0 fixes. 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] Blender 4.0 Fixes - [x] Fix any known outstanding issues with the blender 4.0 version of the plugin. - [x] Test the plugin, ensure the changes have not broken anything. This release will be the first release for blender 4.0 to be released on the release tab now we got the new updater which can tell the difference between blender versions.
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!38
No description provided.