[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34206] trunk/blender/source/blender/ editors/sculpt_paint/paint_utils.c: Bugfix #25557

Ton Roosendaal ton at blender.org
Sun Jan 9 19:43:48 CET 2011


Revision: 34206
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=34206
Author:   ton
Date:     2011-01-09 18:43:47 +0000 (Sun, 09 Jan 2011)
Log Message:
-----------
Bugfix #25557

Using texture brush in Sculpt, was calling to use "osa tex"
without giving it osa sample vectors. This crashed in using
texture nodes.

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

Modified: trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c	2011-01-09 18:23:41 UTC (rev 34205)
+++ trunk/blender/source/blender/editors/sculpt_paint/paint_utils.c	2011-01-09 18:43:47 UTC (rev 34206)
@@ -78,7 +78,7 @@
 	co[2] = 0;
 
 	memset(&texres, 0, sizeof(TexResult));
-	hasrgb = multitex_ext(br->mtex.tex, co, NULL, NULL, 1, &texres);
+	hasrgb = multitex_ext(br->mtex.tex, co, NULL, NULL, 0, &texres);
 
 	if (hasrgb & TEX_RGB)
 		texres.tin = (0.35*texres.tr + 0.45*texres.tg + 0.2*texres.tb)*texres.ta;




More information about the Bf-blender-cvs mailing list