Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-02-02 17:37:25 +0300
committerTon Roosendaal <ton@blender.org>2006-02-02 17:37:25 +0300
commitccbc32abed93fa47f1099f9893a59b8a901b4f56 (patch)
tree216ee9ccbe74d0a209982120631f0dee4567b66b /source/blender/makesdna/DNA_color_types.h
parentb38145ff510d7970dbb089ed9d7bbe27d81d3015 (diff)
Curve tool was not threadsafe... it was storing premultiplied curves in
a function (static vars) itself, causing mixups of curve data on usage.
Diffstat (limited to 'source/blender/makesdna/DNA_color_types.h')
-rw-r--r--source/blender/makesdna/DNA_color_types.h2
1 files changed, 1 insertions, 1 deletions
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 {