[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30283] branches/soc-2010-jwilkins/source/ blender/makesrna/intern/rna_sculpt_paint.c: * added argument to rna_Paint_is_on_surface_brush_capable so it would compile with gcc

Jason Wilkins Jason.A.Wilkins at gmail.com
Tue Jul 13 22:59:09 CEST 2010


Revision: 30283
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30283
Author:   jwilkins
Date:     2010-07-13 22:59:09 +0200 (Tue, 13 Jul 2010)

Log Message:
-----------
* added argument to rna_Paint_is_on_surface_brush_capable so it would compile with gcc

Modified Paths:
--------------
    branches/soc-2010-jwilkins/source/blender/makesrna/intern/rna_sculpt_paint.c

Modified: branches/soc-2010-jwilkins/source/blender/makesrna/intern/rna_sculpt_paint.c
===================================================================
--- branches/soc-2010-jwilkins/source/blender/makesrna/intern/rna_sculpt_paint.c	2010-07-13 19:55:39 UTC (rev 30282)
+++ branches/soc-2010-jwilkins/source/blender/makesrna/intern/rna_sculpt_paint.c	2010-07-13 20:59:09 UTC (rev 30283)
@@ -222,8 +222,10 @@
 	}
 }
 
-static int rna_Paint_is_on_surface_brush_capable()
+static int rna_Paint_is_on_surface_brush_capable(Paint* unused)
 {
+	(void)unused;
+
 #ifdef WITH_ONSURFACEBRUSH
 	int bits;
 	glGetIntegerv(GL_STENCIL_BITS, &bits);





More information about the Bf-blender-cvs mailing list