From 14f9e686fa7b729a36549778fcf8e2cfd31bf424 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 10 Nov 2009 10:24:58 +0000 Subject: [PATCH] Fix for math lib commit, had duplicate definitions of functions, giving build issues on some platforms. --- source/blender/blenlib/intern/math_color.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/blender/blenlib/intern/math_color.c b/source/blender/blenlib/intern/math_color.c index 7ae380a1dde..3b3801a197f 100644 --- a/source/blender/blenlib/intern/math_color.c +++ b/source/blender/blenlib/intern/math_color.c @@ -32,6 +32,7 @@ #include "BLI_math.h" +#if 0 void hsv_to_rgb(float h, float s, float v, float *r, float *g, float *b) { int i; @@ -310,4 +311,5 @@ int constrain_rgb(float *r, float *g, float *b) return 0; /* Color within RGB gamut */ } +#endif