Skip to content

Commit

Permalink
fix: fix erroneous unregister_draw_handler calls in screw, solidify, …
Browse files Browse the repository at this point in the history
…seams, and smooth operators
  • Loading branch information
tristan-hm committed Mar 27, 2022
1 parent fcb9fc6 commit 02a52d8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion power_mods/screw.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,4 +249,4 @@ def register():
def unregister():
bpy.utils.unregister_class(ND_OT_screw)
bpy.types.VIEW3D_MT_object.remove(menu_func)
unregister_draw_handler(self, ND_OT_screw.bl_label)
unregister_draw_handler()
2 changes: 1 addition & 1 deletion power_mods/solidify.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,4 @@ def register():
def unregister():
bpy.utils.unregister_class(ND_OT_solidify)
bpy.types.VIEW3D_MT_object.remove(menu_func)
unregister_draw_handler(self, ND_OT_solidify.bl_label)
unregister_draw_handler()
2 changes: 1 addition & 1 deletion utils/seams.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ def register():
def unregister():
bpy.utils.unregister_class(ND_OT_seams)
bpy.types.VIEW3D_MT_object.remove(menu_func)
unregister_draw_handler(self, ND_OT_seams.bl_label)
unregister_draw_handler()
2 changes: 1 addition & 1 deletion utils/smooth.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ def register():
def unregister():
bpy.utils.unregister_class(ND_OT_smooth)
bpy.types.VIEW3D_MT_object.remove(menu_func)
unregister_draw_handler(self, ND_OT_smooth.bl_label)
unregister_draw_handler()

0 comments on commit 02a52d8

Please sign in to comment.