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:
Dion Moult
2024-07-01 10:43:07 +10:00
parent fe8d42c27c
commit 71869b65f3
@@ -98,6 +98,12 @@ class CloseError(bpy.types.Operator):
blenderbim.last_error = None
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):
bl_idname = "bim.select_uri_attribute"