diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-07-30 15:10:54 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-07-30 15:10:54 +0300 |
commit | 2ae67de94437162a9d429850b04a295fa393d971 (patch) | |
tree | 6419beb6c0b812dd1ae076a824d02ac72dd49055 /source/blender/editors | |
parent | 820d19162678a478bac6a0945e2111b11bbea91e (diff) |
Fix T45577 tiled sculpting not working with brushes requiring a sculpt
plane.
Make sure sculpt plane is recalculated for every tiled dab.
Note this is not the optimum thing to do, we could cache the original
sculpt plane and reuse that, but this would require us to rearrange the
logic of tiled sculpting somewhat. This can be a TODO, but for now this
will fix the issue.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index d03b5b4343d..dd10836ef9a 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -2501,7 +2501,8 @@ static void calc_sculpt_plane( if (ss->cache->mirror_symmetry_pass == 0 && ss->cache->radial_symmetry_pass == 0 && - (ss->cache->first_time || !(brush->flag & BRUSH_ORIGINAL_NORMAL))) + (ss->cache->first_time || !(brush->flag & BRUSH_ORIGINAL_NORMAL) || + (sd->paint.symmetry_flags & PAINT_TILE_AXIS_ALL))) { switch (brush->sculpt_plane) { case SCULPT_DISP_DIR_VIEW: |