Fix own mistake. Erroneously prefixed sculpt capabilities with sculpt_
authorAntony Riakiotakis <kalast@gmail.com>
Fri, 15 Mar 2013 00:22:04 +0000 (00:22 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Fri, 15 Mar 2013 00:22:04 +0000 (00:22 +0000)
before separating them in another struct. Thanks to Sebastian Koenig for reporting

source/blender/makesrna/intern/rna_brush.c

index 88ea3ea27cbf176c912ff6db429d565382a2d833..8480427c4336c7c80117ffb3cf8bbf0b0dadbe16 100644 (file)
@@ -478,7 +478,7 @@ static void rna_def_sculpt_capabilities(BlenderRNA *brna)
                               "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_"      \