mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-03 21:38:12 +00:00
Minor fix to warn users closing an error that their model could be in a bad state (future sync errors etc)
This commit is contained in:
@@ -98,6 +98,12 @@ class CloseError(bpy.types.Operator):
|
|||||||
blenderbim.last_error = None
|
blenderbim.last_error = None
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
def draw(self, context):
|
||||||
|
self.layout.label(text="Warning: your model may be damaged. Really continue?")
|
||||||
|
|
||||||
|
def invoke(self, context, event):
|
||||||
|
return context.window_manager.invoke_props_dialog(self)
|
||||||
|
|
||||||
|
|
||||||
class SelectURIAttribute(bpy.types.Operator):
|
class SelectURIAttribute(bpy.types.Operator):
|
||||||
bl_idname = "bim.select_uri_attribute"
|
bl_idname = "bim.select_uri_attribute"
|
||||||
|
|||||||
Reference in New Issue
Block a user