mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
BlenderBIM keep view when switching git revision
This commit is contained in:
@@ -220,7 +220,7 @@ class IfcGit:
|
|||||||
|
|
||||||
bpy.data.orphans_purge(do_recursive=True)
|
bpy.data.orphans_purge(do_recursive=True)
|
||||||
|
|
||||||
bpy.ops.bim.load_project(filepath=path_ifc)
|
bpy.ops.bim.load_project(filepath=path_ifc, should_start_fresh_session=False)
|
||||||
bpy.ops.object.select_all(action="DESELECT")
|
bpy.ops.object.select_all(action="DESELECT")
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user