Fix IfcCSV import bug.

This commit is contained in:
Dion Moult
2022-01-14 20:25:35 +11:00
parent c09ed228c0
commit d259e0f490
@@ -170,6 +170,8 @@ class ImportIfcCsv(bpy.types.Operator):
else:
ifc_csv.delimiter = props.csv_delimiter
ifc_csv.Import(ifc_file)
if not props.should_load_from_memory:
ifc_file.write(props.csv_ifc_file)
purge_module_data()
return {"FINISHED"}