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-09-14 04:35:41 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-09-14 04:35:41 +0400
commit9f87d9963eb8c5320c07429c1590beff54658440 (patch)
tree04edccfe959e293e5fe3ae81b9646dc09c291708 /source/blender/makesrna/intern/rna_brush.c
parent157656593206647499d0dedb66b2a483a5900a3b (diff)
fix weird issue after last commit where grab brush would not work and
also warnings fix and description fix.
Diffstat (limited to 'source/blender/makesrna/intern/rna_brush.c')
-rw-r--r--source/blender/makesrna/intern/rna_brush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 820a4605052..78a1e7aa368 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -240,7 +240,7 @@ static int rna_SculptToolCapabilities_has_strength_get(PointerRNA *ptr)
static int rna_SculptToolCapabilities_has_frontface_get(PointerRNA *ptr)
{
Brush *br = (Brush *)ptr->data;
- return BKE_sculpt_brush_frontface_only(br);
+ return !BKE_sculpt_brush_frontface_only(br);
}
static int rna_BrushCapabilities_has_texture_angle_get(PointerRNA *ptr)
@@ -562,7 +562,7 @@ static void rna_def_sculpt_capabilities(BlenderRNA *brna)
SCULPT_TOOL_CAPABILITY(has_smooth_stroke, "Has Smooth Stroke");
SCULPT_TOOL_CAPABILITY(has_space_attenuation, "Has Space Attenuation");
SCULPT_TOOL_CAPABILITY(has_strength, "Has Strength");
- SCULPT_TOOL_CAPABILITY(has_frontface, "Has Strength");
+ SCULPT_TOOL_CAPABILITY(has_frontface, "Has Front Facing");
#undef SCULPT_CAPABILITY
}