Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bonsai/bonsai/bim/module/patch/operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def execute(self, context):
ifc_patch_output = props.ifc_patch_output or props.ifc_patch_input

output = ifcpatch.execute(args)
if tool.Patch.does_patch_has_output(recipe_name):
if tool.Patch.does_patch_has_output(recipe_name) and ifc_patch_output:
ifcpatch.write(output, ifc_patch_output)
self.report({"INFO"}, f"{recipe_name} patch executed successfully")
return {"FINISHED"}
Expand Down