mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 10:57:49 +00:00
BlenderBIM minor fix after 7107a91
This commit is contained in:
@@ -222,9 +222,7 @@ class IfcGit:
|
||||
|
||||
bpy.data.orphans_purge(do_recursive=True)
|
||||
|
||||
settings = import_ifc.IfcImportSettings.factory(
|
||||
bpy.context, bpy.context.scene.BIMProperties.ifc_file, logging.getLogger("ImportIFC")
|
||||
)
|
||||
settings = import_ifc.IfcImportSettings.factory(bpy.context, path_ifc, logging.getLogger("ImportIFC"))
|
||||
settings.should_setup_viewport_camera = False
|
||||
ifc_importer = import_ifc.IfcImporter(settings)
|
||||
ifc_importer.execute()
|
||||
|
||||
Reference in New Issue
Block a user