Skip to content

Commit a8be673

Browse files
Update Cross switch leg side (#1919)
1 parent b3bdb79 commit a8be673

File tree

1 file changed

+3
-0
lines changed
  • java/bundles/org.eclipse.set.feature.siteplan/src/org/eclipse/set/feature/siteplan/transform

1 file changed

+3
-0
lines changed

java/bundles/org.eclipse.set.feature.siteplan/src/org/eclipse/set/feature/siteplan/transform/TrackSwitchLeg.xtend

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,9 @@ class TrackSwitchLeg {
265265
length = BigDecimal.valueOf(crossingSide.crossing.mainLeg)
266266
}
267267
}
268+
connection = index === 0
269+
? ENUMTOP_ANSCHLUSS_LINKS
270+
: ENUMTOP_ANSCHLUSS_RECHTS
268271
}
269272

270273
// The leg of a EKW switch is only to cross point between to switch

0 commit comments

Comments
 (0)