mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 14:06:26 +00:00
Remove unload project button - superseded by Convert To Blender File operator
This commit is contained in:
@@ -703,19 +703,6 @@ class LoadProject(bpy.types.Operator, IFCFileSelector):
|
||||
IFCFileSelector.draw(self, context)
|
||||
|
||||
|
||||
class UnloadProject(bpy.types.Operator):
|
||||
bl_idname = "bim.unload_project"
|
||||
bl_label = "Unload Project"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
bl_description = "Unload the IFC project"
|
||||
|
||||
def execute(self, context):
|
||||
IfcStore.purge()
|
||||
context.scene.BIMProperties.ifc_file = ""
|
||||
context.scene.BIMProjectProperties.is_loading = False
|
||||
return {"FINISHED"}
|
||||
|
||||
|
||||
class RevertProject(bpy.types.Operator, IFCFileSelector):
|
||||
bl_idname = "bim.revert_project"
|
||||
bl_label = "Revert IFC Project"
|
||||
|
||||
Reference in New Issue
Block a user