Blender Git Commit Log
Git Commits -> Revision 5a221dd
Revision 5a221dd by Andrew Hale (master) February 2, 2012, 01:07 (GMT) |
Fix for possible memory leak on creation of a vector using Vector.Range. It was possible to allocate an array of size<2 which would then raise an error on vector creation without freeing. Fix to ensure the behaviour of Vector.Range was the same as for builtin range() function. When specifying 3 arguments, the step argument wasn't being used to correctly calculate the vector size. Minor formatting edits for error messages. |
Commit Details:
Full Hash: 5a221dd0dea81fbe31f5e6431911288e8e3f4b53
SVN Revision: 43834
Parent Commit: ca927b5
Lines Changed: +16, -5
1 Modified Path:
/source/blender/python/mathutils/mathutils_Vector.c (+16, -5) (Diff)