1
0
mirror of https://github.com/drewcassidy/TexTools-Blender synced 2024-09-01 14:54:44 +00:00

Fix missing unregister method from botched merge

This commit is contained in:
Andrew Cassidy 2020-09-21 23:19:31 -07:00
parent 07e6fe4556
commit e4455b442e
No known key found for this signature in database
GPG Key ID: 963017B38FD477A1

View File

@ -1390,7 +1390,7 @@ def register():
for cls in classes:
register_class(cls)
#Register settings
#Register settings
bpy.types.Scene.texToolsSettings = bpy.props.PointerProperty(type=TexToolsSettings)
#GUI Utilities
@ -1456,8 +1456,10 @@ def register():
bpy.types.VIEW3D_MT_uv_map.append(menu_VIEW3D_MT_uv_map)
bpy.types.VIEW3D_MT_object_context_menu.append(menu_VIEW3D_MT_object_context_menu)
def unregister():
#GUI Utilities
# utilities_ui.unregister()
from bpy.utils import unregister_class
for cls in reversed(classes):
unregister_class(cls)