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:
authorCampbell Barton <ideasman42@gmail.com>2012-07-26 13:06:23 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-26 13:06:23 +0400
commitab0fa803cd68ffb6e8133b94ac3a781f97a33343 (patch)
tree6e8157e637c2b59cf507a5a638b5b36196f17b7b /source/blender/blenkernel/intern/colortools.c
parent9c4380383cc1d4fcf9ea9e34c2163cb3d3353a3e (diff)
image histogram/sample line couldn't show HDR colors. now allow zooming the view to see colors up to 10.0
Diffstat (limited to 'source/blender/blenkernel/intern/colortools.c')
-rw-r--r--source/blender/blenkernel/intern/colortools.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c
index 31ad4d0380a..194b41f9aaa 100644
--- a/source/blender/blenkernel/intern/colortools.c
+++ b/source/blender/blenkernel/intern/colortools.c
@@ -961,7 +961,7 @@ void BKE_histogram_update_sample_line(Histogram *hist, ImBuf *ibuf, const short
hist->channels = 3;
hist->x_resolution = 256;
hist->xmax = 1.0f;
- hist->ymax = 1.0f;
+ /* hist->ymax = 1.0f; */ /* now do this on the operator _only_ */
if (ibuf->rect == NULL && ibuf->rect_float == NULL) return;