fix for error with matrix access and negative indices with recent row/col swap.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user