Fix strange faces at key ball.
parent
ef11025e9e
commit
b8b724204b
|
@ -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__);
|
||||||
|
|
Loading…
Reference in New Issue