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:
authorCampbell Barton <ideasman42@gmail.com>2010-01-30 17:34:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-30 17:34:37 +0300
commitdde838ec5e79a2279146ea30a7c6d22498d02451 (patch)
treee5e8ba06d88707f97694e5b27650fc2d63f077ea /source/blender/python/generic/matrix.c
parentec48cbd267818f444e942aebd876897314165762 (diff)
bugfix [#20417] <memory> shouldn't be stored in recent item list
Diffstat (limited to 'source/blender/python/generic/matrix.c')
-rw-r--r--source/blender/python/generic/matrix.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/python/generic/matrix.c b/source/blender/python/generic/matrix.c
index 0928a93f13d..af754e532a9 100644
--- a/source/blender/python/generic/matrix.c
+++ b/source/blender/python/generic/matrix.c
@@ -1233,8 +1233,6 @@ static PyObject *Matrix_getMedianScale( MatrixObject * self, void *type )
static PyObject *Matrix_getIsNegative( MatrixObject * self, void *type )
{
- float vec[3];
-
if(!BaseMath_ReadCallback(self))
return NULL;
@@ -1257,7 +1255,7 @@ static PyGetSetDef Matrix_getseters[] = {
{"row_size", (getter)Matrix_getRowSize, (setter)NULL, "The row size of the matrix (readonly). **type** int", NULL},
{"col_size", (getter)Matrix_getColSize, (setter)NULL, "The column size of the matrix (readonly). **type** int", NULL},
{"median_scale", (getter)Matrix_getMedianScale, (setter)NULL, "The average scale applied to each axis (readonly). **type** float", NULL},
- {"is_negative", (getter)Matrix_getIsNegative, (setter)NULL, "True if this matrix results in a negative scale, (3x3, 4x4 only) (readonly). **type** bool", NULL},
+ {"is_negative", (getter)Matrix_getIsNegative, (setter)NULL, "True if this matrix results in a negative scale, 3x3 and 4x4 only, (readonly). **type** bool", NULL},
{"is_wrapped", (getter)BaseMathObject_getWrapped, (setter)NULL, BaseMathObject_Wrapped_doc, NULL},
{"_owner",(getter)BaseMathObject_getOwner, (setter)NULL, BaseMathObject_Owner_doc, NULL},
{NULL,NULL,NULL,NULL,NULL} /* Sentinel */