diff options
author | Andrew Hale <TrumanBlending@gmail.com> | 2012-01-16 13:01:11 +0400 |
---|---|---|
committer | Andrew Hale <TrumanBlending@gmail.com> | 2012-01-16 13:01:11 +0400 |
commit | 3cad3521a9f387aea138bb9133f5d4316ec7121b (patch) | |
tree | 94c7b44206500787dd2a3bbb32b07518a141c1c7 /source/blender/python | |
parent | ab0cbaa7dccd2c1fdacd30d14c9a1983c2fed833 (diff) |
Change function for nb_invert so that ~matrix returns the inverted matrix rather than inverting inplace.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/mathutils/mathutils_Matrix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index f10d8c48c92..e588389b322 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -2049,7 +2049,7 @@ static PyNumberMethods Matrix_NumMethods = { (unaryfunc) 0, /*tp_positive*/ (unaryfunc) 0, /*tp_absolute*/ (inquiry) 0, /*tp_bool*/ - (unaryfunc) Matrix_inv, /*nb_invert*/ + (unaryfunc) Matrix_inverted, /*nb_invert*/ NULL, /*nb_lshift*/ (binaryfunc)0, /*nb_rshift*/ NULL, /*nb_and*/ |