Fix bug in transition exporter

*sigh* I spent way too long on this...
This commit is contained in:
SiboVG 2023-08-19 02:29:34 +02:00
parent 2eb9b039e9
commit 10c495ce5b

View File

@ -164,7 +164,7 @@ public class TransitionExporter extends RocketComponentExporter<Transition> {
*/
if (actualNumStacks == 0) {
if (Double.compare(r, RADIUS_EPSILON) <= 0) {
if (Double.compare(rNext, 0) == 0) {
if (Double.compare(rNext, RADIUS_EPSILON) <= 0) {
// Case 1: Skip this ring (you're at the fore end, before the fore tip)
x = xNext;
continue;