Fix small issue in transition exporter
This commit is contained in:
parent
cbdf621101
commit
886494c519
@ -239,7 +239,8 @@ public class TransitionExporter extends RocketComponentExporter<Transition> {
|
|||||||
} else {
|
} else {
|
||||||
// Check on which ring we are
|
// Check on which ring we are
|
||||||
isForeRing = actualNumStacks == 0 && foreRingVertices.isEmpty();
|
isForeRing = actualNumStacks == 0 && foreRingVertices.isEmpty();
|
||||||
isAftRing = Float.compare(x, (float) component.getLength()) == 0 || Float.compare(x, (float) xAftShoulder) >= 0;
|
isAftRing = Float.compare(x, (float) component.getLength()) == 0 ||
|
||||||
|
(hasAftShoulder && !isOutside && Float.compare(x, (float) xAftShoulder) >= 0);
|
||||||
|
|
||||||
// Case 5: Add normal vertices
|
// Case 5: Add normal vertices
|
||||||
addQuadVertices(numSides, foreRingVertices, aftRingVertices, r, rNext, x, xNext, isForeRing, isAftRing, isOutside);
|
addQuadVertices(numSides, foreRingVertices, aftRingVertices, r, rNext, x, xNext, isForeRing, isAftRing, isOutside);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user