mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 18:57:17 +00:00
Improve usability that you can run a patch recipe without providing arguments. See #1393.
This commit is contained in:
@@ -45,7 +45,7 @@ class ExecuteIfcPatch(bpy.types.Operator):
|
|||||||
"input": context.scene.BIMPatchProperties.ifc_patch_input,
|
"input": context.scene.BIMPatchProperties.ifc_patch_input,
|
||||||
"output": context.scene.BIMPatchProperties.ifc_patch_output,
|
"output": context.scene.BIMPatchProperties.ifc_patch_output,
|
||||||
"recipe": context.scene.BIMPatchProperties.ifc_patch_recipes,
|
"recipe": context.scene.BIMPatchProperties.ifc_patch_recipes,
|
||||||
"arguments": json.loads(context.scene.BIMPatchProperties.ifc_patch_args),
|
"arguments": json.loads(context.scene.BIMPatchProperties.ifc_patch_args or "[]"),
|
||||||
"log": context.scene.BIMProperties.data_dir + "process.log",
|
"log": context.scene.BIMProperties.data_dir + "process.log",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user