Blender Git Commit Log

Git Commits -> Revision 7f850ff

Revision 7f850ff by Campbell Barton (master)
July 17, 2011, 12:30 (GMT)
'bgl' python module.

- add back slicing for buffers, (was previously in 2.4x but not working in py3):
buf = bgl.Buffer(...)
ls = buf[:]

- fix for crash with negative index access not being clamped.

- improve repr() function for multi dimensional buffers.

- add back 'list' attribute, but print deprecation warning.

Commit Details:

Full Hash: 7f850ff25dbc0523c43ce344f49d47b78d24e514
SVN Revision: 38447
Parent Commit: 8c11a26
Lines Changed: +173, -75

1 Modified Path:

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