diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-10 18:45:30 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-10 18:45:30 +0400 |
commit | a912afd202ecfdd0b459d85fba18280c38b0062f (patch) | |
tree | 246fb8565e354ea94d9f4a7ac7ff0494f3bf5bd7 /source/blender/blenkernel/intern/brush.c | |
parent | e9a0a42dd3493c1a4456696cc6912b34a8548b25 (diff) |
Fix #29516: Twist brush giving crazy results
- Rotation now happens around initial stroke location rather than around scene origin
- Added slider for rotation strength which helps in cases only few rotation is needed
to be to increase the precision of such strokes
Diffstat (limited to 'source/blender/blenkernel/intern/brush.c')
-rw-r--r-- | source/blender/blenkernel/intern/brush.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/brush.c b/source/blender/blenkernel/intern/brush.c index 7fac273ef77..2bf80fb7ecc 100644 --- a/source/blender/blenkernel/intern/brush.c +++ b/source/blender/blenkernel/intern/brush.c @@ -384,6 +384,7 @@ void brush_reset_sculpt(Brush *br) br->sub_col[1] = 1.000000; break; case SCULPT_TOOL_ROTATE: + br->alpha = 1.0; break; case SCULPT_TOOL_SMOOTH: br->flag &= ~BRUSH_SPACE_ATTEN; |