forked from bartvdbraak/blender
Fix ply import tests.
The function for clearing out objects in the startup file needed updating for 2.8 collections api.
This commit is contained in:
parent
12fe0b79ce
commit
3c6deb69f7
@ -44,9 +44,9 @@ def replace_bpy_app_version():
|
||||
def clear_startup_blend():
|
||||
import bpy
|
||||
|
||||
for scene in bpy.data.scenes:
|
||||
for obj in scene.objects:
|
||||
scene.objects.unlink(obj)
|
||||
for col in bpy.data.collections:
|
||||
for obj in col.objects:
|
||||
col.objects.unlink(obj)
|
||||
|
||||
|
||||
def blend_to_md5():
|
||||
|
Loading…
Reference in New Issue
Block a user