Blender Git Commit Log

Git Commits -> Revision f776303

Revision f776303 by Campbell Barton (master)
January 31, 2010, 22:50 (GMT)
setting invalid vector swizzle attributes (from blender2.4x docs for instance), could crash blender.
- disallow setting swizzle's that have duplicate values: vec.xxx = [1,2,3]
- raise an error if the list setting a swizzle's longer.
- mathutils write callback was running on the wrong vector, which could crash blender.

Commit Details:

Full Hash: f776303de1b95308d11e6f5ac139a532224e5989
SVN Revision: 26480
Parent Commit: fd3842f
Lines Changed: +372, -349

2 Modified Paths:

/source/blender/python/doc/examples/mathutils_vector.py (+3, -3) (Diff)
/source/blender/python/generic/vector.c (+369, -346) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021