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

Dalai Felinto dfelinto at gmail.com
Mon Aug 9 23:22:47 CEST 2010


That sounds as a task for the (old and currently not
ported/implemented yet) Script Links.
On my understanding this is not possible now.

Cheers,
Dalai

2010/8/9 whiterabbit at dreamscapearts.com <whiterabbit at dreamscapearts.com>:
> 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)
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>


More information about the Bf-committers mailing list