diff options
author | Michel Selten <michel@mselten.demon.nl> | 2003-07-06 23:58:27 +0400 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2003-07-06 23:58:27 +0400 |
commit | 62ffb7a5f6b7de6839a4cb8390acb6aa42176229 (patch) | |
tree | 7a1586df15ee3a4db2fc5828a3fd88af4e0de3f7 /source/blender/python/api2_2x/matrix.c | |
parent | 6cc94449de706bfed4fb1e5249816fb13ceaf9f5 (diff) |
* Fixed:
- Object_getMatrix() - prints correct values now
- Object_getName() - removes the two identifying chars from the front
- Object_setName() - calls the internal function to correctly set the
name of the object.
* Removed the Object_print function. It causes a crash on Windows.
* Updated the Object_repr function to display the Object nicely.
* Object.Get() now returns a list of Objects when no argument has passed to
it.
* Changed the function declaration for newMatrixObject function
Easier to read now.
Diffstat (limited to 'source/blender/python/api2_2x/matrix.c')
-rw-r--r-- | source/blender/python/api2_2x/matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/matrix.c b/source/blender/python/api2_2x/matrix.c index 2dd4c3af00f..6694ae8adab 100644 --- a/source/blender/python/api2_2x/matrix.c +++ b/source/blender/python/api2_2x/matrix.c @@ -125,7 +125,7 @@ PyTypeObject Matrix_Type = &Matrix_SeqMethods, /*tp_as_sequence*/ }; -PyObject * newMatrixObject (Matrix4Ptr mat) +PyObject * newMatrixObject (float mat[][4]) { MatrixObject * self; |