From fe07b232b7e7e80569733de2b42e391874de6477 Mon Sep 17 00:00:00 2001 From: Willian Padovani Germano Date: Wed, 30 Jul 2003 21:15:41 +0000 Subject: * got rid of a warning in editipo.c: changed "get_ipo(key, ..." to "get_ipo((ID *)key, ..." in line 107. * changed insert_meshkey(Mesh *me) to insert_meshkey(Mesh *me, short offline): To call this function from a script, so that it doesn't pop the "relative / absolute" dialog window when the "offline" arg is non-zero. Exppython: * NMesh module: - Added method NMesh.addMaterial(mat) to the NMesh module: alternative safer (aka slower) way to add materials. - Added optional arg to NMesh_update(): if given and equal to 1, the mesh normals are recalculated. - Fixed NMesh.getVertexInfluences: it was segfaulting when a NULL bone was linked to the vertex. Thanks to Jiba on the bf-python mailing list for bug report and sample .blend file. Also made this method give an IndexError when the vertex index is out of range. * Material module: Added specR, specG, specB vars for compatibility with the 2.25 API. Pointed by Manuel Bastioni. * Image module: Exposed image width, height and depth parameters. From a suggestion by jms. * BPython Ref Doc: - Small updates to reflect the above additions. - Added info for the Bone type in the Armature doc. --- source/blender/python/api2_2x/Bone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/Bone.c') diff --git a/source/blender/python/api2_2x/Bone.c b/source/blender/python/api2_2x/Bone.c index c088662b750..d94623f5e3f 100644 --- a/source/blender/python/api2_2x/Bone.c +++ b/source/blender/python/api2_2x/Bone.c @@ -109,7 +109,7 @@ static PyMethodDef BPy_Bone_methods[] = { {"getQuat", (PyCFunction)Bone_getQuat, METH_NOARGS, "() - return Bone quat"}, {"getParent", (PyCFunction)Bone_hasParent, METH_NOARGS, "() - return the parent bone of this one if it exists." - " Otherwise raise an error. Check this condition with the " + " None if not found. You can check this condition with the " "hasParent() method."}, {"hasParent", (PyCFunction)Bone_hasParent, METH_NOARGS, "() - return true if bone has a parent"}, -- cgit v1.2.3