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:
authorAntony Riakiotakis <kalast@gmail.com>2011-06-07 03:19:25 +0400
committerAntony Riakiotakis <kalast@gmail.com>2011-06-07 03:19:25 +0400
commit474d9c0274fa617ca137febb6c84892acb2cae6e (patch)
treeea1c519352ca3aa7a3ad08b19d3c3bc9ded12136 /source/blender/editors/sculpt_paint
parentb481524fde453884f8854a95bba1c1fdeb46959f (diff)
A line of code -can- wreck your day. Should work now, :)
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c
index 83ba35a2e5c..cae5c14aa97 100644
--- a/source/blender/editors/sculpt_paint/paint_image.c
+++ b/source/blender/editors/sculpt_paint/paint_image.c
@@ -3706,7 +3706,7 @@ static void do_projectpaint_draw_f(ProjPaintState *ps, ProjPixel *projPixel, flo
}
else {
if(use_color_correction){
- srgb_to_linearrgb_v3_v3(rgba, rgba);
+ srgb_to_linearrgb_v3_v3(rgba, ps->brush->rgb);
}
else {
VECCOPY(rgba, ps->brush->rgb);