Fix T86768, bevel doesn't loop slide sometimes.
Six years ago, Bug T44961 about unwanted spikes had me not do a loop slide if the angle was too extreme, to avoid unwanted spikes. The current bug showed that that angle was much too big, and limited desired behavior in many cases. Changing the angle from 0.25 radians to 0.0001 radians (about 0.006 degrees) still fixes the original bug and seems very unlikely to be limiting desired behavior now.
This commit is contained in:
@@ -1495,8 +1495,9 @@ static void offset_meet(BevelParams *bp,
|
||||
}
|
||||
}
|
||||
|
||||
/* Chosen so 1/sin(BEVEL_GOOD_ANGLE) is about 4, giving that expansion factor to bevel width. */
|
||||
#define BEVEL_GOOD_ANGLE 0.25f
|
||||
/* This was changed from 0.25f to fix bug T86768. Original bug T44961 remainx fixed with this
|
||||
* value. */
|
||||
#define BEVEL_GOOD_ANGLE 0.0001f
|
||||
|
||||
/**
|
||||
* Calculate the meeting point between e1 and e2 (one of which should have zero offsets),
|
||||
|
Reference in New Issue
Block a user