Blender Git Commit Log

Git Commits -> Revision 1a86cd6

Revision 1a86cd6 by Campbell Barton (master)
July 1, 2009, 13:31 (GMT)
slice support working in py3 for Vector and Matrix types.
Added slice to PyRNA collections and arrays (py3 only).

eg.
some_verts = mesh.verts[0:10]
some_rna_array[4:-1] = [0,1,2,3]

Collections dont support assignment, when assigning slices, resizing the array isnt support like with python lists.

Commit Details:

Full Hash: 1a86cd6dcda1b6bca338d096b6a4b332d0b39822
SVN Revision: 21287
Parent Commit: 82055c8
Lines Changed: +380, -79

3 Modified Paths:

/source/blender/python/generic/matrix.c (+79, -3) (Diff)
/source/blender/python/generic/vector.c (+88, -4) (Diff)
/source/blender/python/intern/bpy_rna.c (+213, -72) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021