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-10-28 03:29:37 +0300
committerWillian Padovani Germano <wpgermano@gmail.com>2003-10-28 03:29:37 +0300
commit9c6275c55babe03f377b4897dbf87341c3f80fda (patch)
treed71f3f9526207bb3cb68850089ccb66f5a901849 /source/blender/python/api2_2x/Material.h
parentbfef1d0d92a8a3e9e75ab337b7e9add9fae4e08b (diff)
Exppython:
- Small fix in NMesh.c - Updates to ipo related methods in Camera, World and Material - Doc updates
Diffstat (limited to 'source/blender/python/api2_2x/Material.h')
-rw-r--r--source/blender/python/api2_2x/Material.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/python/api2_2x/Material.h b/source/blender/python/api2_2x/Material.h
index b5ce6a113ab..d53c04a9cca 100644
--- a/source/blender/python/api2_2x/Material.h
+++ b/source/blender/python/api2_2x/Material.h
@@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
@@ -33,17 +33,17 @@
#define EXPP_MATERIAL_H
#include <Python.h>
-#include <BKE_material.h>
#include <DNA_material_types.h>
+#include <BKE_material.h>
#include "rgbTuple.h"
/*****************************************************************************/
-/* Python BPy_Material structure definition: */
+/* Python BPy_Material structure definition: */
/*****************************************************************************/
typedef struct {
- PyObject_HEAD
- Material *material;
+ PyObject_HEAD
+ Material *material;
BPy_rgbTuple *col, *amb, *spec, *mir;
} BPy_Material;
@@ -51,15 +51,15 @@ typedef struct {
extern PyTypeObject Material_Type; /* The Material PyType Object */
#define BPy_Material_Check(v) \
- ((v)->ob_type == &Material_Type) /* for type checking */
+ ((v)->ob_type == &Material_Type) /* for type checking */
/*****************************************************************************/
-/* Module Blender.Material - public functions */
+/* Module Blender.Material - public functions */
/*****************************************************************************/
PyObject *M_Material_Init (void);
PyObject *Material_CreatePyObject (Material *mat);
Material *Material_FromPyObject (PyObject *pyobj);
-int Material_CheckPyObject (PyObject *pyobj);
+int Material_CheckPyObject (PyObject *pyobj);
/* Some functions needed by NMesh.c */
PyObject *EXPP_PyList_fromMaterialList (Material **matlist, int len);