diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-19 08:48:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-19 08:48:34 +0400 |
commit | db051f2b2ddae22b6ff7468ae5cca7884d5b06da (patch) | |
tree | 67dc02d3c2d30fde68c8d7889bf93cff0ccff3d4 /source/blender/blenlib/BLI_math_color.h | |
parent | 946c9580b5d2735072fa2a4bd817c23fe269ec91 (diff) |
fix MESH_OT_tris_convert_to_quads() limit options (uv and vertex color) were not working at all.
Diffstat (limited to 'source/blender/blenlib/BLI_math_color.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_color.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_color.h b/source/blender/blenlib/BLI_math_color.h index 6fe5d48d06e..7c8bf88943d 100644 --- a/source/blender/blenlib/BLI_math_color.h +++ b/source/blender/blenlib/BLI_math_color.h @@ -115,6 +115,8 @@ void rgba_float_to_uchar(unsigned char col_r[4], const float col_f[4]); void xyz_to_lab(float x, float y, float z, float *l, float *a, float *b); +MINLINE int compare_rgb_uchar(const unsigned char a[3], const unsigned char b[3], const int limit); + /***************** lift/gamma/gain / ASC-CDL conversion *****************/ void lift_gamma_gain_to_asc_cdl(float *lift, float *gamma, float *gain, float *offset, float *slope, float *power); |