Fix strange faces at key ball.

master
Jeremy Hu 2017-01-08 19:38:01 +09:30
parent ef11025e9e
commit b8b724204b
1 changed files with 1 additions and 1 deletions

View File

@ -688,7 +688,7 @@ static convexHull *createConvexHullForBall(bmesh *bm, int depth,
} }
if (BMESH_BALL_TYPE_KEY == ball->type) { if (BMESH_BALL_TYPE_KEY == ball->type) {
bmeshBall reduceBall = *ball; bmeshBall reduceBall = *ball;
reduceBall.radius *= 0.75; reduceBall.radius *= 0.4;
if (-1 == addBallToHull(hull, &reduceBall, if (-1 == addBallToHull(hull, &reduceBall,
&outmostBall, &outmostBallFirstVertexIndex)) { &outmostBall, &outmostBallFirstVertexIndex)) {
fprintf(stderr, "%s:addBallToHull failed.\n", __FUNCTION__); fprintf(stderr, "%s:addBallToHull failed.\n", __FUNCTION__);