From 5536bd5d59e3cad825b8b9650cd466f5dfc70a83 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Thu, 5 Sep 2019 12:03:07 +1000 Subject: [PATCH] Minor fix where qto calculator wasn't passed in, whoops --- src/ifcblenderexport/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcblenderexport/export.py b/src/ifcblenderexport/export.py index 73b7d1df37..8ee948fe2a 100644 --- a/src/ifcblenderexport/export.py +++ b/src/ifcblenderexport/export.py @@ -351,7 +351,7 @@ class IfcParser(): return class_name == 'IfcTypeProduct' class IfcExporter(): - def __init__(self, ifc_parser): + def __init__(self, ifc_parser, qto_calculator): self.template_file = '/home/dion/Projects/blender-bim-ifc/template.ifc' self.output_file = '/home/dion/Projects/blender-bim-ifc/output.ifc' self.ifc_parser = ifc_parser