forked from bartvdbraak/blender
bugfix [#20943] Solidify Modifier working incorrectly
old code was merged chich use the angle degrees.
This commit is contained in:
parent
0cb790ac8e
commit
116a52ee21
@ -104,7 +104,7 @@ MINLINE float interpf(float target, float origin, float fac)
|
||||
* the distance gets very high, 180d would be inf, but this case isn't valid */
|
||||
MINLINE float shell_angle_to_dist(const float angle)
|
||||
{
|
||||
return (angle < SMALL_NUMBER) ? 1.0f : fabsf(1.0f / cosf(angle * (M_PI/180.0f)));
|
||||
return (angle < SMALL_NUMBER) ? 1.0f : fabsf(1.0f / cosf(angle));
|
||||
}
|
||||
|
||||
/* used for zoom values*/
|
||||
|
Loading…
Reference in New Issue
Block a user