Fwd: [Bf-python] adding Blender.ReshadeAll method
bmx007
bmx007 at gmail.com
Fri Feb 17 19:53:39 CET 2006
here's a patch to add the Window.ReshadeAll method
Index: source/blender/python/api2_2x/Window.c
===================================================================
RCS file:
/cvsroot/bf-blender/blender/source/blender/python/api2_2x/Window.c,v
retrieving revision 1.39
diff -r1.39 Window.c
70a71
> static PyObject *M_Window_ReshadeAll( PyObject * self, PyObject * args );
116a118,120
> static char M_Window_ReshadeAll_doc[] =
> "() - Recompute shading for all object (for shaded view)";
>
278a283
> {"ReshadeAll", M_Window_ReshadeAll, METH_VARARGS,
M_Window_ReshadeAll_doc},
422a428,439
> }
>
>
>
/*****************************************************************************/
> /* Function:
M_Window_ReshadeAll */
> /* Python equivalent: Blender.Window.RedrawAll */
>
/*****************************************************************************/
> static PyObject *M_Window_ReshadeAll( PyObject * self, PyObject * args )
> {
> reshadeall_displist();
> Py_INCREF( Py_None );
> return Py_None;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20060217/54546caa/attachment.html>
More information about the Bf-python
mailing list