[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36981] branches/soc-2011-onion/source/ blender/editors/sculpt_paint/paint_image.c: alpha not initialized in float brushes, this could lead to artifacts in windows builds
Ryakiotakis Antonis
kalast at gmail.com
Sat May 28 16:15:49 CEST 2011
Revision: 36981
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36981
Author: psy-fi
Date: 2011-05-28 14:15:48 +0000 (Sat, 28 May 2011)
Log Message:
-----------
alpha not initialized in float brushes, this could lead to artifacts in windows builds
Modified Paths:
--------------
branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_image.c
Modified: branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_image.c
===================================================================
--- branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_image.c 2011-05-28 13:11:24 UTC (rev 36980)
+++ branches/soc-2011-onion/source/blender/editors/sculpt_paint/paint_image.c 2011-05-28 14:15:48 UTC (rev 36981)
@@ -3705,6 +3705,7 @@
else {
VECCOPY(rgba, ps->brush->rgb);
srgb_to_linearrgb_v3_v3(rgba, rgba);
+ rgba[3] = 1.0;
}
if (ps->is_airbrush==0 && mask < 1.0f) {
More information about the Bf-blender-cvs
mailing list