Skip to content

Commit

Permalink
fix DLS
Browse files Browse the repository at this point in the history
  • Loading branch information
bobjacobsen committed Apr 12, 2020
1 parent d17fea8 commit e92401b
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -199,8 +199,7 @@ public void load(Element element, Object o) {
log.error("failed to convert layoutslip center attribute");
}

LayoutSlip.TurnoutType type = LayoutSlip.TurnoutType.SINGLE_SLIP;
type = tTypeEnumMap.inputFromAttribute(element.getAttribute("slipType"));
LayoutSlip.TurnoutType type = tTypeEnumMap.inputFromAttribute(element.getAttribute("slipType"));

// create the new LayoutSlip
LayoutSlip l = new LayoutSlip(name, new Point2D.Double(x, y), 0.0, p, type);
Expand Down

0 comments on commit e92401b

Please sign in to comment.