[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30143] branches/soc-2010-jwilkins/source/ blender/editors/sculpt_paint/paint_stroke.c: * only sculpt mode should use the unified size to draw the cursor for now

Jason Wilkins Jason.A.Wilkins at gmail.com
Fri Jul 9 10:15:06 CEST 2010


Revision: 30143
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30143
Author:   jwilkins
Date:     2010-07-09 10:15:06 +0200 (Fri, 09 Jul 2010)

Log Message:
-----------
* only sculpt mode should use the unified size to draw the cursor for now

Modified Paths:
--------------
    branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c

Modified: branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c	2010-07-09 08:08:28 UTC (rev 30142)
+++ branches/soc-2010-jwilkins/source/blender/editors/sculpt_paint/paint_stroke.c	2010-07-09 08:15:06 UTC (rev 30143)
@@ -837,7 +837,7 @@
 		glEnable(GL_BLEND);
 
 		glTranslatef((float)x, (float)y, 0.0f);
-		glutil_draw_lined_arc(0.0, M_PI*2.0, sculpt_get_brush_size(brush), 40);
+		glutil_draw_lined_arc(0.0, M_PI*2.0, brush->size, 40); // XXX: for now use the brushes size instead of potentially using the unified size because the feature has been enabled for sculpt
 		glTranslatef((float)-x, (float)-y, 0.0f);
 
 		glDisable(GL_BLEND);





More information about the Bf-blender-cvs mailing list