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:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-04-14 15:56:04 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-04-14 15:56:04 +0400
commitdcec99734b4ca63995e16e0cdd92b9ee1dbed787 (patch)
treea0cdc1bbc75028e9a6d2fec73fcfccfbab1d4a59 /source/blender/editors/space_clip/clip_editor.c
parent4863253c2f9044f146874a4ef7bc8abb1edc1b2b (diff)
Fix for the eyedropper fixes from today
Missing color copy, noticed by @campbellbarton, thanks!
Diffstat (limited to 'source/blender/editors/space_clip/clip_editor.c')
-rw-r--r--source/blender/editors/space_clip/clip_editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c
index 7b8d659d857..4fe12fdd7e9 100644
--- a/source/blender/editors/space_clip/clip_editor.c
+++ b/source/blender/editors/space_clip/clip_editor.c
@@ -295,6 +295,7 @@ bool ED_space_clip_color_sample(Scene *scene, SpaceClip *sc, ARegion *ar, int mv
}
else if (ibuf->rect) {
cp = (unsigned char *)(ibuf->rect + y * ibuf->x + x);
+ rgb_uchar_to_float(r_col, cp);
IMB_colormanagement_colorspace_to_scene_linear_v3(r_col, ibuf->rect_colorspace);
ret = true;
}