Sorcar icon indicating copy to clipboard operation
Sorcar copied to clipboard

[BUG] Re-enabling the addon throws

Open Radivarig opened this issue 5 years ago • 1 comments

  File "/nix/store/...-blender-2.83.0/share/blender/2.83/scripts/modules/addon_utils.py", line 382, in enable
    mod.register()
  File "/home/radivarig/.config/blender/2.83/scripts/addons/Sorcar-master/__init__.py", line 150, in register
    bpy.utils.register_class(i)
ValueError: register_class(...): already registered as a subclass 'ScNodeTree'

Probably registering module instead of classes would fix this: https://blender.stackexchange.com/a/18075/4958

Radivarig avatar Jun 24 '20 16:06 Radivarig

There might be an issue with unregistering some class. EDIT: The interface class for vector isn't getting unregistered properly: image This is preventing the nodetree from unregistering.

aachman98 avatar Jul 04 '20 14:07 aachman98