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:
authorStephen Swaney <sswaney@centurytel.net>2004-09-26 00:30:40 +0400
committerStephen Swaney <sswaney@centurytel.net>2004-09-26 00:30:40 +0400
commita509b8adc9b8952cdb395c69406e821f57a9a6c7 (patch)
tree7c0e3c7b81007acc6b3e268e59a6af5fcb4bd93f /source/blender/python/api2_2x/Bone.h
parentbd371ddb9ff947d4e598ad04af9402d89fa80d5e (diff)
Another round in the Great BPy Cleanup:
Run everything thru indent to cleanup spaces vs tabs. Clean up some of the comments by hand. BGL.c was not touched due to all that macro wackyness. There are no functional changes to the code. Pre-indent versions of source are tagged with tag bpy-cleanup-20040925 , just in case.
Diffstat (limited to 'source/blender/python/api2_2x/Bone.h')
-rw-r--r--source/blender/python/api2_2x/Bone.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/source/blender/python/api2_2x/Bone.h b/source/blender/python/api2_2x/Bone.h
index 06c1df3529e..088616da591 100644
--- a/source/blender/python/api2_2x/Bone.h
+++ b/source/blender/python/api2_2x/Bone.h
@@ -1,4 +1,5 @@
/*
+ * $Id$
*
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
*
@@ -38,39 +39,39 @@
#include "quat.h"
#include "matrix.h"
-//--------------------------Python BPy_Bone structure definition.---------------------
-typedef struct{
- PyObject_HEAD
- //reference to data if bone is linked to an armature
- Bone *bone;
+//--------------------------Python BPy_Bone structure definition.-------
+typedef struct {
+ PyObject_HEAD
+ //reference to data if bone is linked to an armature
+ Bone * bone;
//list of vars that define the boneclass
- char *name;
+ char *name;
char *parent;
- float roll;
+ float roll;
int flag;
int boneclass;
float dist;
float weight;
- VectorObject *head;
- VectorObject *tail;
- VectorObject *loc;
- VectorObject *dloc;
- VectorObject *size;
- VectorObject *dsize;
+ VectorObject *head;
+ VectorObject *tail;
+ VectorObject *loc;
+ VectorObject *dloc;
+ VectorObject *size;
+ VectorObject *dsize;
QuaternionObject *quat;
QuaternionObject *dquat;
MatrixObject *obmat;
MatrixObject *parmat;
MatrixObject *defmat;
MatrixObject *irestmat;
- MatrixObject *posemat;
-}BPy_Bone;
+ MatrixObject *posemat;
+} BPy_Bone;
-//------------------------------visible prototypes----------------------------------------------
-PyObject *Bone_CreatePyObject (struct Bone *obj);
-int Bone_CheckPyObject (PyObject * py_obj);
-Bone *Bone_FromPyObject (PyObject * py_obj);
-PyObject *Bone_Init (void);
-int updateBoneData(BPy_Bone *self, Bone *parent);
+//------------------------------visible prototypes----------------------
+PyObject *Bone_CreatePyObject( struct Bone *obj );
+int Bone_CheckPyObject( PyObject * py_obj );
+Bone *Bone_FromPyObject( PyObject * py_obj );
+PyObject *Bone_Init( void );
+int updateBoneData( BPy_Bone * self, Bone * parent );
#endif