Blender Git Commit Log

Git Commits -> Revision a34f525

Revision a34f525 by Campbell Barton (master)
November 12, 2010, 01:38 (GMT)
bugfix [#24660] (vector * matrix) fails, (matrix * vector) succeeds

- Reverse vector * matrix multiplication order. now this matches how numpy works.
- Disallow 'matrix * vec' and 'quat * vec', now it raises an error.
- Add missing in-place multiply 'vec *= quat'

Many scripts will need to be updated for this but at least it will error rather then failing silently.

Commit Details:

Full Hash: a34f525a21eff2ec1f5691ce3ec2056408bacd5d
SVN Revision: 33029
Parent Commit: 44e36b5
Lines Changed: +75, -76

3 Modified Paths:

/source/blender/python/generic/mathutils_Matrix.c (+2, -43) (Diff)
/source/blender/python/generic/mathutils_quat.c (+2, -14) (Diff)
/source/blender/python/generic/mathutils_Vector.c (+71, -19) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021