I am working with blender from batch (blender -b untitled.blend -P scripts.py) to generate renders.
But in my script I call the function project_from_view, and I have the error "Operator bpy.ops.uv.project_from_view.poll() failed, context is incorrect"
Everything is ok when I do it myself, but when I try to run it from a script it fails. Anyone knows how to solve this? (Changing context maybe?)
Scripting in Blender with Python, and working on the API
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests