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:
authorMichel Selten <michel@mselten.demon.nl>2003-07-11 00:00:51 +0400
committerMichel Selten <michel@mselten.demon.nl>2003-07-11 00:00:51 +0400
commitf999426daaf98c3abdb65ae6b78a9463ebcad0dd (patch)
tree95ed54d0c681ab04fc79f4cb4fee81807420e61b /source/blender/python/api2_2x/vector.h
parent66e2bf39d975fe289b60f918f7e23157f22db1f6 (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.h2
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;