Skip to content

Commit

Permalink
Avoid creating empty traffic sign groups for incomplete relations
Browse files Browse the repository at this point in the history
  • Loading branch information
tordanik committed Sep 9, 2023
1 parent c7bfd90 commit 90858b7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,9 @@ private void createDestinationSign(MapNode node) {

}

node.addRepresentation(new TrafficSignGroup(node, signs, node.getPos(), direction, config));
if (!signs.isEmpty()) {
node.addRepresentation(new TrafficSignGroup(node, signs, node.getPos(), direction, config));
}

}

Expand Down

0 comments on commit 90858b7

Please sign in to comment.