create primitive object return the active one would be right reference , isn't it ?
Closed this issue · 1 comments
lightspread commented
def create_cube():
bpy.ops.mesh.primitive_cube_add()
return bpy.data.objects["Cube"]
def create_cube():
bpy.ops.mesh.primitive_cube_add()
return bpy.context.active_object
curtisjamesholt commented
Yep, changed it, will be in 0.0.4 (sometime today). 👍