diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-12-13 07:35:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-12-13 07:38:11 +0300 |
commit | 611752ce334a04acbc7439a0220f57f05fca1e48 (patch) | |
tree | fb49a610ae0bbdae7966b56753b6dc3e6f157c55 /source/blender/blenkernel/BKE_colorband.h | |
parent | ef8bbc8cbaf5f9253b01fa20a895f189bd02d713 (diff) |
UI: color-band eyedropper now combines samples
Resulting color-band was too noisy (especially with photos),
use gauss filter to take surrounding samples into account.
Diffstat (limited to 'source/blender/blenkernel/BKE_colorband.h')
-rw-r--r-- | source/blender/blenkernel/BKE_colorband.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_colorband.h b/source/blender/blenkernel/BKE_colorband.h index 6841d94d360..edb724d2aec 100644 --- a/source/blender/blenkernel/BKE_colorband.h +++ b/source/blender/blenkernel/BKE_colorband.h @@ -37,7 +37,7 @@ struct ColorBand; void BKE_colorband_init(struct ColorBand *coba, bool rangetype); void BKE_colorband_init_from_table_rgba( - struct ColorBand *coba, const float (*array)[4], const int array_len); + struct ColorBand *coba, const float (*array)[4], const int array_len, bool filter_sample); struct ColorBand *BKE_colorband_add(bool rangetype); bool BKE_colorband_evaluate(const struct ColorBand *coba, float in, float out[4]); void BKE_colorband_evaluate_table_rgba(const struct ColorBand *coba, float **array, int *size); |