Blender Git Commit Log

Git Commits -> Revision 78d9891

Revision 78d9891 by Dalai Felinto (master)
October 3, 2009, 21:48 (GMT)
mathutils: bugfix for matrix * vector

- terrible typo was making the multiplication to run in an infinite loop.
- Any matrix * vector multiplication would crash Blender.
eg
####
import Mathutils
from Mathutils import *

vec_ray = Vector(0.0, 0.0, 1.0)
tilt_mat = RotationMatrix(0.0, 3, "y")
vec_ray = tilt_mat * vec_ray
####

Commit Details:

Full Hash: 78d9891dfebe63433b47076583df812992b3db7c
SVN Revision: 23619
Parent Commit: 14c1dd9
Lines Changed: +1, -1

1 Modified Path:

/source/blender/python/generic/matrix.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021