[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [35925] trunk/blender/source/blender/ editors/sculpt_paint/sculpt.c: using wrong RNA type in sculpt update.

Campbell Barton ideasman42 at gmail.com
Thu Mar 31 19:54:24 CEST 2011


Revision: 35925
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=35925
Author:   campbellbarton
Date:     2011-03-31 17:54:23 +0000 (Thu, 31 Mar 2011)
Log Message:
-----------
using wrong RNA type in sculpt update.

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

Modified: trunk/blender/source/blender/editors/sculpt_paint/sculpt.c
===================================================================
--- trunk/blender/source/blender/editors/sculpt_paint/sculpt.c	2011-03-31 17:14:31 UTC (rev 35924)
+++ trunk/blender/source/blender/editors/sculpt_paint/sculpt.c	2011-03-31 17:54:23 UTC (rev 35925)
@@ -2916,7 +2916,7 @@
 		ss->cache->initial_mouse[1] = 0;
 	}
 
-	mode = RNA_int_get(op->ptr, "mode");
+	mode = RNA_enum_get(op->ptr, "mode");
 	cache->invert = mode == BRUSH_STROKE_INVERT;
 	cache->alt_smooth = mode == BRUSH_STROKE_SMOOTH;
 




More information about the Bf-blender-cvs mailing list