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?)