mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Add use_factory_startup to src/bonsai/test/bim/test_feature.py def an_empty_blender_session()
This addresses https://github.com/IfcOpenShell/IfcOpenShell/issues/7590 Cheers!
This commit is contained in:
@@ -337,7 +337,7 @@ def an_untestable_scenario():
|
||||
def an_empty_blender_session():
|
||||
IfcStore.purge()
|
||||
if not PYTEST_BLENDER_NO_BACKGROUND:
|
||||
bpy.ops.wm.read_homefile(app_template="")
|
||||
bpy.ops.wm.read_homefile(app_template="", use_factory_startup=True)
|
||||
if len(bpy.data.objects) > 0:
|
||||
bpy.data.batch_remove(bpy.data.objects)
|
||||
bpy.ops.outliner.orphans_purge(do_local_ids=True, do_linked_ids=True, do_recursive=True)
|
||||
|
||||
Reference in New Issue
Block a user