Blender Git Commit Log
Git Commits -> Revision 576963d
Revision 576963d by Jeroen Bakker (master) July 15, 2019, 09:24 (GMT) |
Fix crash running GPU shader.format_calc() with attributes like gl_VertexID When using opengl attributes such as gl_VertexID in a shader its location is set to -1. This location was used without checking in an attribute array. This fails big time when called from python. For example `print(shader.format_calc())` made python crash immediately. this fixes https://github.com/JacquesLucke/animation_nodes/issues/1141 Reviewed By: fclem, brecht Differential Revision: https://developer.blender.org/D5231 |
Commit Details:
Full Hash: 576963d7c1e46c0fb59ee4c8741098cf690d0f27
Parent Commit: 872025c
Lines Changed: +5, -0
1 Modified Path:
/source/blender/gpu/intern/gpu_vertex_format.c (+5, -0) (Diff)