[PyOpenGL-Devel] Fwd: vbo update error
Brought to you by:
mcfletch
From: Axel V. <va...@ma...> - 2017-04-29 22:21:37
|
Hi there, I was using Python3 with PyOpenGL 3.1.1 partially updating vbos as numpy array through the slice operator, when I ran into a bug. 1. When figuring out the step size, arrayByCount fails for numpy.float32 in my case and any other numpy data type, as the arg is not an array. 2. I think start and stop was swapped when figuring out when to copy the whole array I hope I got the fix right which I attached with the modified vbo.py as well as the diff. Axel. |