Added back comments which vanished.
This commit is contained in:
@@ -15,8 +15,13 @@ else:
|
||||
|
||||
def register():
|
||||
print("Registering Avatar Toolkit")
|
||||
# Register the addon properties
|
||||
properties.register()
|
||||
# Order the classes before registration
|
||||
core.register.order_classes()
|
||||
# Register the UI classes
|
||||
|
||||
# Iterate over the classes to register and register them
|
||||
core.register.register_properties()
|
||||
for cls in core.register.__bl_ordered_classes:
|
||||
print("registering " + str(cls))
|
||||
@@ -24,6 +29,9 @@ def register():
|
||||
|
||||
def unregister():
|
||||
print("Unregistering Avatar Toolkit")
|
||||
# Unregister the UI classes
|
||||
|
||||
# Iterate over the classes to unregister in reverse order and unregister them
|
||||
for cls in reversed(core.register.__bl_ordered_classes):
|
||||
bpy.utils.unregister_class(cls)
|
||||
print("unregistering " + str(cls))
|
||||
|
||||
Reference in New Issue
Block a user