Make compatible with older blender version in virgin xenial.

This commit is contained in:
jmsgrogan 2017-10-23 15:02:51 +01:00
parent a1e22c9f2b
commit 050c3a4438

View file

@ -4,7 +4,8 @@ def initialize_scene():
# Set up scene # Set up scene
objs = bpy.data.objects objs = bpy.data.objects
objs.remove(objs["Cube"], True) bpy.data.scenes['Scene'].objects.unlink(objs["Cube"])
objs.remove(objs["Cube"])
def setup_scene(): def setup_scene():