¿ªÔÆÌåÓý

Locked Re: "Connectivity error when searching turnouts" when load layout editor panel #layouteditor


 

Found the bug! In LayoutSlip.getLayoutConnectivity() the DOUBLE_SLIP is limiting BD instead of BC:

This line (¡Ö1847):
? ? ? ? ? ? if ((type == DOUBLE_SLIP) && (lbB != lbD)) {
should be:
? ? ? ? ? ? if (lbB != lbD) {
And this line (¡Ö1863)
? ? ? ? ? ? if (lbB != lbC) {
Should be:
? ? ? ? ? ? if ((type == DOUBLE_SLIP) && (lbB != lbC)) {

I'll submit a PR asap¡­

Join [email protected] to automatically receive all group messages.