mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 06:09:16 +00:00
Fix UI errors selecting empty ifcpatch ("-")
This commit is contained in:
@@ -111,7 +111,7 @@ class UpdateIfcPatchArguments(bpy.types.Operator):
|
|||||||
recipe: bpy.props.StringProperty()
|
recipe: bpy.props.StringProperty()
|
||||||
|
|
||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
if self.recipe == "":
|
if self.recipe == "-":
|
||||||
print("No Recipe Selected. Impossible to load arguments")
|
print("No Recipe Selected. Impossible to load arguments")
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
patch_args = context.scene.BIMPatchProperties.ifc_patch_args_attr
|
patch_args = context.scene.BIMPatchProperties.ifc_patch_args_attr
|
||||||
|
|||||||
Reference in New Issue
Block a user