Make compatible with older blender version in virgin xenial.
This commit is contained in:
parent
a1e22c9f2b
commit
050c3a4438
1 changed files with 2 additions and 1 deletions
|
@ -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():
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue