When you enable the addon it works, but when you disable it you get an error. After that you can't enable it again without restarting Blender.
Errors:
- On disable:
has no attribute 'unregister'
- On re-enable:
already registered as a subclass 'MAPLUS_OT_AlignPointsBase'
The fix is 3 small changes in the code:
__init__.py – add unregister to the import
utils/system.py – remove base classes from the registration list (Blender 4.x registers them automatically)
utils/system.py – add try/except in register() so it doesn't crash if a class is already in memory
Patched zip attached – tested and working on Blender 4.5 LTS and 5.1.
mesh_mesh_align_plus-FIXED-v2.zip
When you enable the addon it works, but when you disable it you get an error. After that you can't enable it again without restarting Blender.
Errors:
has no attribute 'unregister'already registered as a subclass 'MAPLUS_OT_AlignPointsBase'The fix is 3 small changes in the code:
__init__.py– addunregisterto the importutils/system.py– remove base classes from the registration list (Blender 4.x registers them automatically)utils/system.py– add try/except inregister()so it doesn't crash if a class is already in memoryPatched zip attached – tested and working on Blender 4.5 LTS and 5.1.
mesh_mesh_align_plus-FIXED-v2.zip