mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
Fix IfcCSV import bug.
This commit is contained in:
@@ -170,6 +170,8 @@ class ImportIfcCsv(bpy.types.Operator):
|
|||||||
else:
|
else:
|
||||||
ifc_csv.delimiter = props.csv_delimiter
|
ifc_csv.delimiter = props.csv_delimiter
|
||||||
ifc_csv.Import(ifc_file)
|
ifc_csv.Import(ifc_file)
|
||||||
|
if not props.should_load_from_memory:
|
||||||
|
ifc_file.write(props.csv_ifc_file)
|
||||||
purge_module_data()
|
purge_module_data()
|
||||||
return {"FINISHED"}
|
return {"FINISHED"}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user