Fix issue after commit 50282: float texture painting non-color data textures did
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 25 Oct 2012 15:25:28 +0000 (15:25 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 25 Oct 2012 15:25:28 +0000 (15:25 +0000)
commit85d9ba5cbb8d98acd13fd8fe294db00af5d3bdae
tree8d8d22578034d0123ab655a329b7f4dfd5e962e6
parente0a4ca00ac289152b5b9dd125cad514d2cd7bbdd
Fix issue after commit 50282: float texture painting non-color data textures did
not do correct partial updates, now it remembers if the opengl texture is a
non-color data texture or not and takes that into account for the update.

Also includes some renaming ncd => is_data for consistency with color space
terminology used elsewhere.
13 files changed:
source/blender/blenloader/intern/readfile.c
source/blender/gpu/GPU_draw.h
source/blender/gpu/GPU_extensions.h
source/blender/gpu/GPU_material.h
source/blender/gpu/intern/gpu_codegen.c
source/blender/gpu/intern/gpu_codegen.h
source/blender/gpu/intern/gpu_draw.c
source/blender/gpu/intern/gpu_extensions.c
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/intern/divers.c
source/blender/makesdna/DNA_image_types.h
source/blender/nodes/shader/nodes/node_shader_tex_environment.c
source/blender/nodes/shader/nodes/node_shader_tex_image.c