[Bf-blender-cvs] [acfa7b102b9] master: Sculpt: use distance threshold for dyntopo symmetrize
Campbell Barton
noreply at git.blender.org
Tue Jan 5 13:22:07 CET 2021
Commit: acfa7b102b97e4c823bd9dad1f214d6b33d02f44
Author: Campbell Barton
Date: Tue Jan 5 23:18:20 2021 +1100
Branches: master
https://developer.blender.org/rBacfa7b102b97e4c823bd9dad1f214d6b33d02f44
Sculpt: use distance threshold for dyntopo symmetrize
This was only used for non-dyntopo symmetrize.
There is no reason to use a hard-coded value in this case.
===================================================================
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 5a75f4e9cb7..7b3dc5cd8e3 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -8196,7 +8196,7 @@ static int sculpt_symmetrize_exec(bContext *C, wmOperator *op)
(BMO_FLAG_DEFAULTS & ~BMO_FLAG_RESPECT_HIDE),
"symmetrize input=%avef direction=%i dist=%f use_shapekey=%b",
sd->symmetrize_direction,
- 0.00001f,
+ dist,
true);
SCULPT_dynamic_topology_triangulate(ss->bm);
More information about the Bf-blender-cvs
mailing list