patch [#23144] bpy.Image.gl_load() -- fix
authorCampbell Barton <ideasman42@gmail.com>
Sun, 1 Aug 2010 22:20:45 +0000 (22:20 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 1 Aug 2010 22:20:45 +0000 (22:20 +0000)
commitc92e3225f3aa5fadb9ad0920dffbdc0c0209a98a
tree6f0c84a36aa52e531d85c47c956d76cb5d0cc599
parent20e6b5280d250c5513f2e533e76542f5160a8845
patch [#23144] bpy.Image.gl_load() -- fix
from Dan Eicher (dna)
- image.gl_load() was using GL_UNSIGNED_INT rather then GL_UNSIGNED_BYTE channel type.
- changed image.gl_load() to use the image clamp settings (patch had this as an extra argument).
source/blender/makesrna/intern/rna_image_api.c