diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-08-07 17:16:23 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-08-07 17:16:23 +0300 |
commit | c30c3fde51fb5ca6780ef436678c9d4aa07f400c (patch) | |
tree | 4bc333b2750b936dc70b9707547c09628baf238c /source/blender/blenkernel/intern/mesh_remap.c | |
parent | 9becee445ee525a7831e28567f041b4477d0c9ba (diff) |
Attempt to fix T45718, crash when enabling GLSL mode with UV layers.
I can't reproduce issue here but crash is most likely caused by passing
a NULL pointer to glUniform2fv.
This is caused by OpenSubdiv changes to the codegen module, which pass
mtex layers to the uniform system
even when not needed.
Since Sergey is demoing OpenSubdiv in a few days, I'll
go with the easy fix for now which is just checking for NULL pointer, but
this needs to be fixed properly at some point.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_remap.c')
0 files changed, 0 insertions, 0 deletions