Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2013-03-15 04:22:04 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-03-15 04:22:04 +0400
commit55a05a9b0395fd0957505ac4acfb65ceda658542 (patch)
tree345b2d134a4f8a6c3d6f80f6255f47f2c541a4ec
parent113f2367a089efb78ae0bc2b793d8be5e6b89183 (diff)
Fix own mistake. Erroneously prefixed sculpt capabilities with sculpt_
before separating them in another struct. Thanks to Sebastian Koenig for reporting
-rw-r--r--source/blender/makesrna/intern/rna_brush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 88ea3ea27cb..8480427c433 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -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_" \