BlenderBIM keep view when switching git revision

This commit is contained in:
Bruno Postle
2023-08-29 22:28:02 +01:00
parent f23ebc4031
commit 101972fbad
+1 -1
View File
@@ -220,7 +220,7 @@ class IfcGit:
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")
@classmethod