[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47890] branches/soc-2012-bratwurst/source /blender: forgot this brush rotation, remove debug printf

Antony Riakiotakis kalast at gmail.com
Thu Jun 14 13:47:11 CEST 2012


Revision: 47890
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47890
Author:   psy-fi
Date:     2012-06-14 11:47:11 +0000 (Thu, 14 Jun 2012)
Log Message:
-----------
forgot this brush rotation, remove debug printf

Modified Paths:
--------------
    branches/soc-2012-bratwurst/source/blender/blenkernel/intern/brush.c
    branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/paint_image.c

Modified: branches/soc-2012-bratwurst/source/blender/blenkernel/intern/brush.c
===================================================================
--- branches/soc-2012-bratwurst/source/blender/blenkernel/intern/brush.c	2012-06-14 11:44:05 UTC (rev 47889)
+++ branches/soc-2012-bratwurst/source/blender/blenkernel/intern/brush.c	2012-06-14 11:47:11 UTC (rev 47890)
@@ -617,7 +617,7 @@
 					dst[3] = FTOCHAR(alpha_f);
 				}
 				else {
-					BKE_brush_sample_tex(scene, brush, xy, rgba, 0, 0);
+					BKE_brush_sample_tex(scene, brush, xy, rgba, 0, angle);
 					alpha_f = rgba[3] *alpha *BKE_brush_curve_strength_clamp(brush, len_v2(xy), radius);
 
 					dst[0] = crgb[0];

Modified: branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/paint_image.c
===================================================================
--- branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/paint_image.c	2012-06-14 11:44:05 UTC (rev 47889)
+++ branches/soc-2012-bratwurst/source/blender/editors/sculpt_paint/paint_image.c	2012-06-14 11:47:11 UTC (rev 47890)
@@ -3878,9 +3878,7 @@
 		
 		smearArena = BLI_memarena_new(1 << 16, "paint smear arena");
 	}
-	
-	/* printf("brush bounds %d %d %d %d\n", bucketMin[0], bucketMin[1], bucketMax[0], bucketMax[1]); */
-	
+		
 	while (project_bucket_iter_next(ps, &bucket_index, &bucket_bounds, pos)) {				
 		
 		/* Check this bucket and its faces are initialized */




More information about the Bf-blender-cvs mailing list