[Bf-blender-cvs] [13741792abd] soc-2018-bevel: Fixed artifacts in bevel with high profile and segments
Rohan Rathi
noreply at git.blender.org
Sat Jul 14 20:03:21 CEST 2018
Commit: 13741792abdaa2ea4f65d26988d40cb9483f0450
Author: Rohan Rathi
Date: Mon Jul 9 21:55:08 2018 +0530
Branches: soc-2018-bevel
https://developer.blender.org/rB13741792abdaa2ea4f65d26988d40cb9483f0450
Fixed artifacts in bevel with high profile and segments
===================================================================
M source/blender/bmesh/tools/bmesh_bevel.c
===================================================================
diff --git a/source/blender/bmesh/tools/bmesh_bevel.c b/source/blender/bmesh/tools/bmesh_bevel.c
index 0a8ff3546be..694581bfab2 100644
--- a/source/blender/bmesh/tools/bmesh_bevel.c
+++ b/source/blender/bmesh/tools/bmesh_bevel.c
@@ -5619,7 +5619,7 @@ void BM_mesh_bevel(
bp.hnmode = hnmode;
bp.faceHash = NULL;
- if (profile >= 0.999f) { /* r ~ 692, so PRO_SQUARE_R is 1e4 */
+ if (profile >= 0.950f) { /* r ~ 692, so PRO_SQUARE_R is 1e4 */
bp.pro_super_r = PRO_SQUARE_R;
}
More information about the Bf-blender-cvs
mailing list