[Bf-committers] Python API: Render state information inside RenderEngine?

whiterabbit at dreamscapearts.com whiterabbit at dreamscapearts.com
Mon Aug 9 22:47:49 CEST 2010


Hey everyone,

I have what I hope is a simple API question whose answer seems to be 
alluding me. I need to do some pre-render setup and post-render cleanup 
for my exporter. It would be nice if there were pre and post render 
methods in bpy.types.RenderEngine however I could make render() work if 
I could determine if Blender's currently rendering a single frame or 
part of an animation.
Does anyone know if there's a simple way to determine this from within 
RenderEngine.render() or is there some other trick for this?

Thanks in advance,
Eric Back (WHiTeRaBBiT)


More information about the Bf-committers mailing list