Commit Graph

21 Commits

Author SHA1 Message Date
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
Onan Chew d7bab3642a Merge branch 'main' into cleanup-p2 2024-10-18 18:04:52 -04:00
Onan Chew db2e3e8787 Merge pull request #63 from Yusarina/cleanup-p1
Cleanup p1
2024-10-18 18:03:29 -04:00
Yusarina 1fb1e74689 Add remove doubles warning
Gives user a warning about how long advanced remove doubles takes.
2024-10-14 05:31:13 +01:00
Yusarina 2684b89bef Ui Cleanup
UI Is starting to look much better. I added more spacing and re-arrange parts of the UI, icons have been added and overall is starting to look much better and more user Friendly.
2024-09-27 23:39:34 +01:00
Yusarina bb92e50530 Small Fix 2024-09-27 23:00:16 +01:00
Yusarina e766c20764 Merge branch 'main' into UVAligner 2024-09-11 01:41:05 +01:00
989onan fba59faa50 UVAligner Tool
- Adds a new Avatar Toolkit panel location for UV tools
- adds Align UV Edges to target
 - Allows for aligning uv vertices in a line on one object to another's uvs pixel perfect. This is useful for making one model copy another model's UV's with some user work
- Added translation keys for tool
2024-09-09 21:18:56 -04:00
Onan Chew a08d888acb More cleanup
- operator strings are referenced via the class property rather than a hard coded string
- class names have been cleaned to have _OT_ or _PT_ depending on the kind of class it was.
- Class names should mostly be CamelCase now.
2024-09-04 20:16:34 -04:00
Onan Chew 05b90dfefb Advanced mode finished
Finally this took forever.
Now this is the double merger to end all double mergers. for now.
2024-09-01 20:26:54 -04:00
Yusarina 83366072b8 UI Updates
- Added icons to ui.
- Re-organised the UI slightly.
- Added some more Titles such as Join Meshes and etc.
- Slight wording changing on descriptions.
2024-07-25 21:48:40 +01:00
Yusarina b6beae7ba1 UI side Translations complete 2024-07-25 02:46:13 +01:00
Yusarina 05cc6c830c UI Order Fixes 2024-07-25 02:25:09 +01:00
Yusarina 06c7cff4b7 Basic Start of Armature Selection 2024-07-22 23:13:10 +01:00
Yusarina 381d6cb25c Merge branch 'main' into RemoveDoubles 2024-07-22 22:21:49 +01:00
989onan 9ec186b1cf Added a modal for remove doubles
- made remove doubles a blender modal. this way the code can run over multiple frames.
- Since remove doubles is async now, the user gets feedback on which shapekey and mesh is being worked on
- this does not remove doubles correctly yet, but is very close to ready
2024-07-07 16:19:52 -04:00
Yusarina b7026b2a41 Improvements
- Added Most UI Translations.
- Improve Readability of the translation strings.
2024-07-05 13:47:09 +01:00
Yusarina 81abc6ffd7 Some Baisc UI Improvements
Nothing much, just improving the UI looks a little bit, we now have Import and Export in a popup and I made some changes to some of the buttons. That's about it.
2024-06-18 22:58:29 +01:00
Yusarina 1d507ddaa0 Add some Basic Functions
- Added functions folder.
- Added Combine Materials (Basic and needs imporvements.
- Added common file, this is where any common things that could be used by multiple functions will live.
- Clean materials, basic at the minute it cleans up material names in the given mesh by removing the '.001' suffix.
- Added fix UV Cords in which is in common, this should fix faulty uv coordinates, may need improvements as it's was the best way i could think of for the time being.
- Added join all meshes and selected meshes functions, this will use the fix uv cords while joining mehses. This is pretty basic as blender is quite good at doing the mesh joining itself. We may want to expand it in the future though.
2024-06-18 03:54:10 +01:00
989onan 88f12238c7 fix stuff 2024-06-14 19:21:52 -04:00
Yusarina 0f7c46b720 Initial Commit 2024-06-12 03:37:46 +01:00