Skip to content

Commit

Permalink
BlenderBIM minor fix after 7107a91
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopostle committed Oct 15, 2023
1 parent 14224ac commit c48c1c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/blenderbim/blenderbim/tool/ifcgit.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,7 @@ def load_project(cls, path_ifc):

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()
Expand Down

0 comments on commit c48c1c3

Please sign in to comment.