diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-05-17 20:19:13 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-05-17 20:19:13 +0400 |
commit | 7eeb8ac01cea69fc8dbf3e4a58179b1026fc6198 (patch) | |
tree | bb1fda3f9be548369ebaa8742ba0129080257bb8 /source/blender/makesrna/intern/rna_space.c | |
parent | 351086dbb83fa42d393a8a4f64287c2b90e23d97 (diff) |
Color proofing support with lcms (http://www.littlecms.com/).
Enable with WITH_LCMS (options have been added for scons).
lcms is very common on linux package managers, so no need to add in extern (IMHO). Libs for windows can be added to /lib
Code is mostly a proof of concept with hardcoded path for icc profile (taken from the lcms test suite).
Adding this now to svn so it doesn't rot on my hard drive. People interested in pushing it forward should feel free to dig in the code or poke me about it.
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_space.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c index 229a260efce..2b5c3a621b4 100644 --- a/source/blender/makesrna/intern/rna_space.c +++ b/source/blender/makesrna/intern/rna_space.c @@ -260,6 +260,7 @@ static void rna_def_space_image(BlenderRNA *brna) {SI_USE_ALPHA, "COLOR_ALPHA", "Color and Alpha", "Draw image with RGB colors and alpha transparency."}, {SI_SHOW_ALPHA, "ALPHA", "Alpha", "Draw alpha transparency channel."}, {SI_SHOW_ZBUF, "Z_BUFFER", "Z-Buffer", "Draw Z-buffer associated with image (mapped from camera clip start to end)."}, + {SI_COLOR_CORRECTION, "COLOR_CORRECTED", "Color Corrected", "Display color corrected image."}, {0, NULL, NULL, NULL}}; srna= RNA_def_struct(brna, "SpaceImageEditor", "Space"); |