From 2ae67de94437162a9d429850b04a295fa393d971 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Thu, 30 Jul 2015 14:10:54 +0200 Subject: 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. --- source/blender/editors/sculpt_paint/sculpt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors') 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: -- cgit v1.2.3