replaced id->us++ with id_us_plus(id); so any indirect libdata isnt lost on reload.

added camera.dofDist to the python camera module
This commit is contained in:
2006-12-24 03:25:53 +00:00
parent 1c6f41a27a
commit b72bfbd923
10 changed files with 75 additions and 38 deletions

View File

@@ -48,8 +48,8 @@ extern PyTypeObject KeyBlock_Type;
typedef struct {
PyObject_HEAD /* required python macro */
Key * key;
// Object *object; /* for vertex grouping info, since it's stored on the object */
//PyObject *keyBlock;
/* Object *object;/* /* for vertex grouping info, since it's stored on the object */
/*PyObject *keyBlock;*/
PyObject *ipo;
} BPy_Key;
@@ -57,7 +57,7 @@ typedef struct {
PyObject_HEAD /* required python macro */
Key *key;
KeyBlock * keyblock;
// Object *object; /* for vertex grouping info, since it's stored on the object */
/* Object *object;*/ /* for vertex grouping info, since it's stored on the object */
} BPy_KeyBlock;
PyObject *Key_CreatePyObject( Key * k );