I’m trying to make an addon that adds a wireframe tree to my scene, but whenever my script runs the bpy_extras.object_utils.object_data_add()
function, I get a TypeError saying “'int object is not iterable”.
When I handle the exception, the mesh is created as expected. What is causing this error?
If it helps, my script is based on the operator_mesh_add.py
template.