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-16 06:24:41 +0400
committerAntony Riakiotakis <kalast@gmail.com>2013-09-16 06:24:41 +0400
commit43bd8c2b28d06953b64ed6d1e72cead9e42463a0 (patch)
treef892e882719adebdfd2fe9a563b7408f0bd69690 /source/blender/blenkernel/intern/brush.c
parentabb37f4152ea8945fdffdc956acdd3002e54db2d (diff)
Undo the front-facing only commit for clay strips brushes, it adds an
attenuation that should really be optional. There's also a minor performance penalty and all this only for one problematic case. In case the tool flattens two surfaces, users can manually set the front face only option. A better non-attenuating way to cull such vertices can be added later. Also flatten brush should calculate the flatten plane from the original vertices or the flattening will not converge for planes offsets different than zero. Reported by Michalis Zissiou, thanks!
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r--source/blender/blenkernel/intern/brush.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c
index 7864216f39e..790c1f09ff0 100644
--- a/source/blender/blenkernel/intern/brush.c
+++ b/source/blender/blenkernel/intern/brush.c
@@ -1048,8 +1048,3 @@ struct ImBuf *BKE_brush_gen_radial_control_imbuf(Brush *br, bool secondary)
return im;
}
-
-bool BKE_sculpt_brush_frontface_only(struct Brush *br)
-{
- return br->sculpt_tool == SCULPT_TOOL_CLAY_STRIPS;
-}