From c467b19c75d7a9ce4afb2d46566447414c92801e Mon Sep 17 00:00:00 2001 From: Willian Padovani Germano Date: Sat, 12 Jul 2003 18:02:54 +0000 Subject: Exppython: - More documentation files for epydoc. - Few minor changes in other files. --- source/blender/python/api2_2x/NMesh.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'source/blender/python/api2_2x/NMesh.h') diff --git a/source/blender/python/api2_2x/NMesh.h b/source/blender/python/api2_2x/NMesh.h index c7271c42db4..6f1fbf59596 100644 --- a/source/blender/python/api2_2x/NMesh.h +++ b/source/blender/python/api2_2x/NMesh.h @@ -54,6 +54,7 @@ #include "BLI_blenlib.h" #include "BIF_space.h" #include "DNA_mesh_types.h" +#include "DNA_key_types.h" #include "DNA_object_types.h" #include "DNA_material_types.h" #include "DNA_armature_types.h" @@ -66,6 +67,9 @@ #include "gen_utils.h" #include "modules.h" + +void insert_meshkey(Mesh *me); /* defined in editkey.c */ + /* EXPP PyType Objects */ PyTypeObject NMesh_Type; @@ -87,7 +91,7 @@ static PyObject *g_nmeshmodule = NULL; #define BPy_NMCol_Check(v) ((v)->ob_type == &NMCol_Type) static char M_NMesh_doc[] = -"The Blender.NMesh module"; +"The Blender.NMesh submodule"; static char M_NMesh_Col_doc[]= "([r, g, b, a]) - Get a new mesh color\n\n\ @@ -103,6 +107,15 @@ static char M_NMesh_Vert_doc[] = "([x, y, z]) - Get a new vertice\n\n\ [x, y, z] Specify new coordinates"; +static char NMesh_insertKey_doc[] = +"(frame = None) - inserts a Mesh key at the given frame\n\ +if called without arguments, it inserts the key at the current Scene frame"; + +static char NMesh_removeAllKeys_doc[] = +"() - removes all keys from this mesh\n\ +returns True if successful or False if this NMesh wasn't linked to a real\n\ +Blender Mesh yet or the Mesh had no keys"; + static char NMesh_getSelectedFaces_doc[] = "(flag = None) - returns list of selected Faces\n\ If flag = 1, return indices instead"; -- cgit v1.2.3