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>2011-12-24 10:13:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-12-24 10:13:58 +0400
commit28a5549ecf2a3c7614bfe1df58d658e5fd65de3b (patch)
treeeb74262f5736fb2f11a2602b0cd8d6b743b0cabf /source/blender/python/mathutils/mathutils_Matrix.h
parentb42497b46031b4960d1efb79faf5a1fedd3546bb (diff)
fix for error with matrix access and negative indices with recent row/col swap.
Diffstat (limited to 'source/blender/python/mathutils/mathutils_Matrix.h')
-rw-r--r--source/blender/python/mathutils/mathutils_Matrix.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/mathutils/mathutils_Matrix.h b/source/blender/python/mathutils/mathutils_Matrix.h
index 05c822b0330..73b786ef6aa 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.h
+++ b/source/blender/python/mathutils/mathutils_Matrix.h
@@ -72,10 +72,10 @@ PyObject *Matrix_CreatePyObject_cb(PyObject *user,
const unsigned short num_col, const unsigned short num_row,
int cb_type, int cb_subtype);
-extern int mathutils_matrix_vector_cb_index;
-extern int mathutils_matrix_column_cb_index;
-extern struct Mathutils_Callback mathutils_matrix_vector_cb;
-extern struct Mathutils_Callback mathutils_matrix_column_cb;
+extern int mathutils_matrix_row_cb_index; /* default */
+extern int mathutils_matrix_col_cb_index;
+extern struct Mathutils_Callback mathutils_matrix_row_cb; /* default */
+extern struct Mathutils_Callback mathutils_matrix_col_cb;
void matrix_as_3x3(float mat[3][3], MatrixObject *self);