Previous Thread  Next Thread

chat icon project_from_view context

member159

Posted: Wed Jun 27, 2012 6:56 pm
Joined: 28 Mar 2012
Posts: 7
Hi,
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?)

Thanks
Reply with quote


 
Jump to:  
Powered by phpBB © 2001, 2005 phpBB Group