From ccbc32abed93fa47f1099f9893a59b8a901b4f56 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 2 Feb 2006 14:37:25 +0000 Subject: Curve tool was not threadsafe... it was storing premultiplied curves in a function (static vars) itself, causing mixups of curve data on usage. --- source/blender/makesdna/DNA_color_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 5f48daa0931..b969d11d7ce 100644 --- a/source/blender/makesdna/DNA_color_types.h +++ b/source/blender/makesdna/DNA_color_types.h @@ -55,7 +55,7 @@ typedef struct CurveMap { float mintable, maxtable; /* the x-axis range for the table */ CurveMapPoint *curve; /* actual curve */ CurveMapPoint *table; /* display and evaluate table */ - + CurveMapPoint *premultable; /* for RGB curves, premulled table */ } CurveMap; typedef struct CurveMapping { -- cgit v1.2.3