Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-06-05 20:21:44 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-06-05 20:21:44 +0400
commitd29a8c0a3cbd9844f5de4ea5de56c8f7a9e339fc (patch)
tree1b3f32764073a98409b5f3287e3f3b7970a0937e /source/blender/python/api2_2x/Material.h
parent0de12ba5178ff1c07c80f8bb984a0f31afb6fb29 (diff)
*Minor updates:
changed some function names and cleaned the Camera header file
Diffstat (limited to 'source/blender/python/api2_2x/Material.h')
-rw-r--r--source/blender/python/api2_2x/Material.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/Material.h b/source/blender/python/api2_2x/Material.h
index e1d79ccc2eb..0387295fc14 100644
--- a/source/blender/python/api2_2x/Material.h
+++ b/source/blender/python/api2_2x/Material.h
@@ -48,21 +48,20 @@ typedef struct {
} C_Material;
-PyTypeObject Material_Type; /* The Image PyType Object */
+PyTypeObject Material_Type; /* The Material PyType Object */
#define C_Material_Check(v) \
- ((v)->ob_type == &Image_Type) /* for type checking */
+ ((v)->ob_type == &Material_Type) /* for type checking */
/*****************************************************************************/
/* Module Blender.Material - public functions */
/*****************************************************************************/
PyObject *M_Material_Init (void);
PyObject *Material_CreatePyObject (Material *mat);
-int Material_CheckPyObject (PyObject *pyobj);
-
+int Material_CheckPyObject (PyObject *pyobj);
/* Some functions needed by NMesh.c */
-PyObject *EXPP_PyList_fromMaterialList (Material **matlist, int len);
+PyObject *EXPP_PyList_fromMaterialList (Material **matlist, int len);
Material **EXPP_newMaterialList_fromPyList (PyObject *list);
Material **EXPP_newMaterialList(int len);