Skip to content
Snippets Groups Projects
Commit ea0873de authored by meta-androcto's avatar meta-androcto
Browse files

add_curve_sapling: Fix: T66252 D5154

parent efc92efe
Branches
Tags
No related merge requests found
......@@ -755,7 +755,7 @@ def create_armature(armAnim, leafP, cu, frameRate, leafMesh, leafObj, leafVertSi
armMod.use_vertex_groups = True
# Make sure all objects are deselected (may not be required?)
for ob in bpy.data.objects:
for ob in bpy.context.view_layer.objects:
ob.select_set(state=False)
fps = bpy.context.scene.render.fps
......@@ -1594,7 +1594,7 @@ def addTree(props):
else:
handles = 'VECTOR'
for ob in bpy.data.objects:
for ob in bpy.context.view_layer.objects:
ob.select_set(state=False)
# Initialise the tree object and curve and adjust the settings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment