From b8b724204bb9851a6ab30ba3cf25d9aa22e1f039 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Sun, 8 Jan 2017 19:38:01 +0930 Subject: [PATCH] Fix strange faces at key ball. --- src/bmesh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bmesh.c b/src/bmesh.c index fa19a293..94f65130 100644 --- a/src/bmesh.c +++ b/src/bmesh.c @@ -688,7 +688,7 @@ static convexHull *createConvexHullForBall(bmesh *bm, int depth, } if (BMESH_BALL_TYPE_KEY == ball->type) { bmeshBall reduceBall = *ball; - reduceBall.radius *= 0.75; + reduceBall.radius *= 0.4; if (-1 == addBallToHull(hull, &reduceBall, &outmostBall, &outmostBallFirstVertexIndex)) { fprintf(stderr, "%s:addBallToHull failed.\n", __FUNCTION__);