[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37280] trunk/blender/source/blender/ editors/sculpt_paint/paint_image.c: A line of code -can- wreck your day.

Ryakiotakis Antonis kalast at gmail.com
Tue Jun 7 01:19:26 CEST 2011


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);




More information about the Bf-blender-cvs mailing list