[Bf-blender-cvs] [79875e37fe2] master: Cleanup: remove redundant assignment in SCULPT_brush_test_init
Philipp Oeser
noreply at git.blender.org
Tue Oct 13 13:22:40 CEST 2020
Commit: 79875e37fe281c1988a1160978ab904bd42a336a
Author: Philipp Oeser
Date: Tue Oct 13 13:11:24 2020 +0200
Branches: master
https://developer.blender.org/rB79875e37fe281c1988a1160978ab904bd42a336a
Cleanup: remove redundant assignment in SCULPT_brush_test_init
As discussed in D9120, this was an oversight in rBe0c792135adf, the same
assignment already happens a couple of lines above.
===================================================================
M source/blender/editors/sculpt_paint/sculpt.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c
index 806a9e4b0fb..39b675de3c0 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -1608,8 +1608,6 @@ void SCULPT_brush_test_init(SculptSession *ss, SculptBrushTest *test)
zero_v4(test->plane_view);
zero_v4(test->plane_tool);
- test->mirror_symmetry_pass = ss->cache ? ss->cache->mirror_symmetry_pass : 0;
-
if (RV3D_CLIPPING_ENABLED(v3d, rv3d)) {
test->clip_rv3d = rv3d;
}
More information about the Bf-blender-cvs
mailing list