diff options
author | Michel Selten <michel@mselten.demon.nl> | 2003-07-11 00:00:51 +0400 |
---|---|---|
committer | Michel Selten <michel@mselten.demon.nl> | 2003-07-11 00:00:51 +0400 |
commit | f999426daaf98c3abdb65ae6b78a9463ebcad0dd (patch) | |
tree | 95ed54d0c681ab04fc79f4cb4fee81807420e61b /source/blender/python/api2_2x/vector.h | |
parent | 66e2bf39d975fe289b60f918f7e23157f22db1f6 (diff) |
* Object_getInverseMatrix now returns a correct matrix.
The problem was that the memory was allocated at the stack, but after the
Python object was created, the pointer to the memory goes invalid.
Thanks to Kester Maddoc for providing a patch - almost 2 weeks ago. Ouch,
I should read my mail a little bit better.
Diffstat (limited to 'source/blender/python/api2_2x/vector.h')
-rw-r--r-- | source/blender/python/api2_2x/vector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/vector.h b/source/blender/python/api2_2x/vector.h index 8969bed5fb4..2e0250c3a07 100644 --- a/source/blender/python/api2_2x/vector.h +++ b/source/blender/python/api2_2x/vector.h @@ -66,7 +66,7 @@ typedef struct { PyObject_VAR_HEAD PyObject *rows[4]; Matrix4Ptr mat; - + Matrix4Ptr mem; } MatrixObject; |