diff options
author | Hans Goudey <h.goudey@me.com> | 2022-10-08 00:45:12 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-10-08 00:45:12 +0300 |
commit | 2ed302b5e13111b62b37cdd6a1d081e818f1574b (patch) | |
tree | cd0267ea3cb9256727143aa3f69dcc8742c523c2 /source/blender/editors/sculpt_paint/sculpt_brush_types.c | |
parent | 2c803124d371bbbd564dd4c5051258f53b799d36 (diff) | |
parent | f3f0ea8dc27e457f61667eb24c476646c46ae0a9 (diff) |
Merge branch 'master' into refactor-mesh-position-generic
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_brush_types.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_brush_types.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_brush_types.c b/source/blender/editors/sculpt_paint/sculpt_brush_types.c index 31d75f584f1..6db2eb0fc0c 100644 --- a/source/blender/editors/sculpt_paint/sculpt_brush_types.c +++ b/source/blender/editors/sculpt_paint/sculpt_brush_types.c @@ -131,7 +131,7 @@ static void calc_sculpt_plane( } /* For area normal. */ - if ((!SCULPT_stroke_is_first_brush_step_of_symmetry_pass(ss->cache)) && + if (!SCULPT_stroke_is_first_brush_step_of_symmetry_pass(ss->cache) && (brush->flag & BRUSH_ORIGINAL_NORMAL)) { copy_v3_v3(r_area_no, ss->cache->sculpt_normal); } @@ -140,7 +140,7 @@ static void calc_sculpt_plane( } /* For flatten center. */ - if ((!SCULPT_stroke_is_first_brush_step_of_symmetry_pass(ss->cache)) && + if (!SCULPT_stroke_is_first_brush_step_of_symmetry_pass(ss->cache) && (brush->flag & BRUSH_ORIGINAL_PLANE)) { copy_v3_v3(r_area_co, ss->cache->last_center); } |