diff options
author | Ton Roosendaal <ton@blender.org> | 2006-01-12 18:46:29 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-01-12 18:46:29 +0300 |
commit | 715794859a99c47a08314acbfe537c4460cb788b (patch) | |
tree | 39730d4c6b2d4a0017c477e3a80570ae1c2ba393 /source/blender/makesdna/DNA_color_types.h | |
parent | 402518c66c251a0b4e83bca474319cacd2ae662a (diff) |
Orange:
- cleanup of color curves code; goes at least twice faster now!
(includes black/white point stuff)
- When using 'Curves' in image window on a byte rect, it creates a (temp)
float rect to operate on. So curves work for regular pictures too now.
Diffstat (limited to 'source/blender/makesdna/DNA_color_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_color_types.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_color_types.h b/source/blender/makesdna/DNA_color_types.h index 1829398e4e8..5f48daa0931 100644 --- a/source/blender/makesdna/DNA_color_types.h +++ b/source/blender/makesdna/DNA_color_types.h @@ -49,7 +49,7 @@ typedef struct CurveMapPoint { #define CUMA_VECTOR 2 typedef struct CurveMap { - short totpoint, pad; + short totpoint, flag; float range; /* quick multiply value for reading table */ float mintable, maxtable; /* the x-axis range for the table */ @@ -68,9 +68,8 @@ typedef struct CurveMapping { float bwmul[3], padf; /* black/white point multiply value, for speed */ } CurveMapping; -/* cuma->flag */ -#define CUMA_DO_CLIP 1 - +/* cumap->flag */ +#define CUMA_DO_CLIP 1 #endif |