Commit Graph

8 Commits

Author SHA1 Message Date
Yusarina 7e584e3648 Fixes
This fixes is to get everything working on the new auto load and properties system.
Also some other small fixes.
2024-12-03 01:26:10 +00:00
Yusarina fe8f5f69d5 Plugin Registration Changes
- Re-wrote how the plugin registers itself.
- No longer need @register_wrapper classes get auto detected and added.
- The new Auto loader is much better then the old way, no longer need "if "bpy" not in locals():" this was an old way of doing things and wasn't really efficient.

 using auto_load.py provides several advantages:

- It automatically discovers and loads all modules in the addon.
- It handles dependencies between classes correctly through topological sorting.
- It manages registration order automatically.
- It properly handles unregistration in the correct order.

This approach is much less error prone and I not had any issues so far. However it still needs testing fully.

I have also start to re-organise files into folders as well, this is going to be needed so we don't have a long list of files as Avatar Toolkit is getting larger then i originally planned.
2024-12-02 01:52:11 +00:00
Yusarina 6b6773e70a Further Fixes to Optimise Armature 2024-11-27 03:41:57 +00:00
Yusarina 503b8f0919 Make sure it end in Object mode 2024-11-27 03:36:56 +00:00
Yusarina 27ebd5ebfb Fixes
- Optimise Armature no longer errors out and bones don't change position now.
- Improvements to remove zero bones.
2024-11-27 03:34:10 +00:00
Yusarina 5addb26ad4 Small Fixes, forgot some things change in the API 2024-09-26 00:21:37 +01:00
Yusarina 3c2a63f29a Improvements and fixes to some whoopsies
- Fixed double import
- Improved Cleanup mesh, includes removal of empty shapekeys and unused vertex groups.
- Optimise Armature now includes fix broken names function
- Optimise Weights now includes a limit for bone weights
- Material conversion now handles transparency
- automatically rename bones to a standard naming convention such as  _Left _Right

Still no where near complete, but I getting there.
2024-09-26 00:11:52 +01:00
Yusarina 6c918b8209 Very Basic MMD Options Panel (MASSIVE WIP)
This is a massive WIP most options don't work yet. However this is the start of it.
2024-09-25 23:48:16 +01:00