unregistering spatial and structural tools on disabling addon

This commit is contained in:
Andrej730
2023-06-28 16:54:43 +05:00
parent 40656297a6
commit 4e65f143da
2 changed files with 2 additions and 0 deletions
@@ -60,6 +60,7 @@ def register():
def unregister():
bpy.utils.unregister_tool(workspace.SpatialTool)
del bpy.types.Scene.BIMSpatialProperties
del bpy.types.Object.BIMObjectSpatialProperties
del bpy.types.Scene.BIMSpatialManagerProperties
@@ -100,5 +100,6 @@ def register():
def unregister():
bpy.utils.unregister_tool(workspace.StructuralTool)
del bpy.types.Scene.BIMStructuralProperties
del bpy.types.Object.BIMStructuralProperties