From 715794859a99c47a08314acbfe537c4460cb788b Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 12 Jan 2006 15:46:29 +0000 Subject: 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. --- source/blender/makesdna/DNA_color_types.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source/blender/makesdna/DNA_color_types.h') 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 -- cgit v1.2.3