Blender Git Commit Log

Git Commits -> Revision 0a435d4

Revision 0a435d4 by Germano Cavalcante (master)
October 17, 2017, 14:06 (GMT)
Fix T53074: Use the pybuffer->itemsize to get the corresponding GLtype

It seems that `typestr` does not always define the final size of the element. And it varies by operating system.

Then use the `typestr` only to know the itemtype is `float` type or not.

Commit Details:

Full Hash: 0a435d49bae553d49afb9d4f16f2eacc763d86ca
Parent Commit: 06ff970
Lines Changed: +11, -16

1 Modified Path:

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