[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30205] branches/soc-2010-jwilkins/source/ blender/windowmanager/intern/wm_operators.c: * draw_on_surface_cursor function already clears the stencil buffer

Jason Wilkins Jason.A.Wilkins at gmail.com
Sun Jul 11 14:46:18 CEST 2010


Revision: 30205
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30205
Author:   jwilkins
Date:     2010-07-11 14:46:18 +0200 (Sun, 11 Jul 2010)

Log Message:
-----------
* draw_on_surface_cursor function already clears the stencil buffer

Modified Paths:
--------------
    branches/soc-2010-jwilkins/source/blender/windowmanager/intern/wm_operators.c

Modified: branches/soc-2010-jwilkins/source/blender/windowmanager/intern/wm_operators.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/windowmanager/intern/wm_operators.c	2010-07-11 12:39:50 UTC (rev 30204)
+++ branches/soc-2010-jwilkins/source/blender/windowmanager/intern/wm_operators.c	2010-07-11 12:46:18 UTC (rev 30205)
@@ -2789,8 +2789,6 @@
 				draw_on_surface_cursor(modelview, projection, col, alpha, ob->size, viewport, location, inner_radius, outer_radius, sculpt_get_brush_size(brush));
 			}
 
-			glClear(GL_STENCIL_BUFFER_BIT);
-
 			{
 				const float unprojected_radius= unproject_brush_radius(CTX_data_active_object(C), &vc, location, r2);
 				const float max_thickness= 0.12;





More information about the Bf-blender-cvs mailing list