[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55290] trunk/blender/source/blender/ makesrna/intern/rna_brush.c: Fix own mistake.

Antony Riakiotakis kalast at gmail.com
Fri Mar 15 01:22:08 CET 2013


Revision: 55290
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55290
Author:   psy-fi
Date:     2013-03-15 00:22:04 +0000 (Fri, 15 Mar 2013)
Log Message:
-----------
Fix own mistake. Erroneously prefixed sculpt capabilities with sculpt_
before separating them in another struct. Thanks to Sebastian Koenig for reporting

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_brush.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_brush.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_brush.c	2013-03-14 21:44:16 UTC (rev 55289)
+++ trunk/blender/source/blender/makesrna/intern/rna_brush.c	2013-03-15 00:22:04 UTC (rev 55290)
@@ -478,7 +478,7 @@
 	                       "are supported by the current sculpt tool");
 
 #define SCULPT_TOOL_CAPABILITY(prop_name_, ui_name_)                      \
-	prop = RNA_def_property(srna, "sculpt_" #prop_name_,                          \
+	prop = RNA_def_property(srna, #prop_name_,                          \
 	                        PROP_BOOLEAN, PROP_NONE);                   \
 	RNA_def_property_clear_flag(prop, PROP_EDITABLE);                   \
 	RNA_def_property_boolean_funcs(prop, "rna_SculptToolCapabilities_"      \




More information about the Bf-blender-cvs mailing list