Brushstroke Tools: Initial Version #328
@ -7,5 +7,5 @@ def register():
|
||||
m.register()
|
||||
|
||||
def unregister():
|
||||
for m in modules:
|
||||
for m in reversed(modules):
|
||||
m.unregister()
|
@ -93,6 +93,6 @@ def register():
|
||||
bpy.utils.register_tool(BrushstrokesCurves, after={"builtin.draw"}, group=True)
|
||||
|
||||
def unregister():
|
||||
for c in classes:
|
||||
for c in reversed(classes):
|
||||
bpy.utils.unregister_class(c)
|
||||
bpy.utils.unregister_tool(BrushstrokesCurves)
|
@ -392,5 +392,5 @@ def register():
|
||||
bpy.utils.register_class(c)
|
||||
|
||||
def unregister():
|
||||
for c in classes:
|
||||
for c in reversed(classes):
|
||||
bpy.utils.unregister_class(c)
|
@ -171,7 +171,7 @@ def register():
|
||||
bpy.app.handlers.depsgraph_update_post.append(find_context_brushstrokes)
|
||||
|
||||
def unregister():
|
||||
for c in classes:
|
||||
for c in reversed(classes):
|
||||
bpy.utils.unregister_class(c)
|
||||
del bpy.types.Scene.BSBST_settings
|
||||
del bpy.types.Object.modifier_info
|
||||
|
@ -197,5 +197,5 @@ def register():
|
||||
bpy.utils.register_class(c)
|
||||
|
||||
def unregister():
|
||||
for c in classes:
|
||||
for c in reversed(classes):
|
||||
bpy.utils.unregister_class(c)
|
||||
|
Loading…
Reference in New Issue
Block a user