Revision: 37280
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37280
Author:   psy-fi
Date:     2011-06-06 23:19:25 +0000 (Mon, 06 Jun 2011)
Log Message:
-----------
A line of code -can- wreck your day. Should work now, :)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/sculpt_paint/paint_image.c

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_image.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_image.c     
2011-06-06 22:31:49 UTC (rev 37279)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_image.c     
2011-06-06 23:19:25 UTC (rev 37280)
@@ -3706,7 +3706,7 @@
        }
        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);

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to