BPython:
- Fix for bug #2621 reported by Yann Cointepas (material.setMode didn't accept integer param, only strings, making it inconsistent with material.getMode): http://projects.blender.org/tracker/index.php?func=detail&aid=2621&group_id=9&atid=125 Applied patch #2626 by Ken Hughes to both Material.c and doc (Material.py): http://projects.blender.org/tracker/index.php?func=detail&aid=2626&group_id=9&atid=127 - Small C doc strings update I forgot to add before, for Render slinks (reminder about Render slinks docs also by Ken). Thanks both -- btw, Ken Hughes has contributed considerably improving bpy documentation and fixing bugs for this release.
This commit is contained in:
@@ -156,11 +156,11 @@ static PyMethodDef BPy_Scene_methods[] = {
|
||||
{"getScriptLinks", ( PyCFunction ) Scene_getScriptLinks, METH_VARARGS,
|
||||
"(eventname) - Get a list of this scene's scriptlinks (Text names) "
|
||||
"of the given type\n"
|
||||
"(eventname) - string: FrameChanged, OnLoad or Redraw."},
|
||||
"(eventname) - string: FrameChanged, OnLoad, OnSave, Redraw or Render."},
|
||||
{"addScriptLink", ( PyCFunction ) Scene_addScriptLink, METH_VARARGS,
|
||||
"(text, evt) - Add a new scene scriptlink.\n"
|
||||
"(text) - string: an existing Blender Text name;\n"
|
||||
"(evt) string: FrameChanged, OnLoad or Redraw."},
|
||||
"(evt) string: FrameChanged, OnLoad, OnSave, Redraw or Render."},
|
||||
{"clearScriptLinks", ( PyCFunction ) Scene_clearScriptLinks,
|
||||
METH_VARARGS,
|
||||
"() - Delete all scriptlinks from this scene.\n"
|
||||
|
||||
Reference in New Issue
Block a user