bugfix [#23454] vector*matrix not the same as vector*=matrix

- they now share the same code so it wont happen again.
- added id_data to properties so we can do...
  matrix = C.object.matrix_world
  obj = matrix.owner.id_data # get the original object back.
This commit is contained in:
2010-08-23 22:10:13 +00:00
parent 9b685a4b78
commit 1be4eda552
3 changed files with 33 additions and 48 deletions

View File

@@ -1526,7 +1526,6 @@ static PyObject *Matrix_mul(PyObject * m1, PyObject * m2)
return NULL;
}
else /* if(mat1) { */ {
if(VectorObject_Check(m2)) { /* MATRIX*VECTOR */
return column_vector_multiplication(mat1, (VectorObject *)m2); /* vector update done inside the function */
}