Commit 17cca721 authored by Riegel's avatar Riegel
Browse files

Fix: Fix assignment of auxTrafficSpaces to node

parent 938e4b5a
...@@ -704,7 +704,7 @@ public class CityDoctorController { ...@@ -704,7 +704,7 @@ public class CityDoctorController {
} }
} }
if (!space.getAuxTrafficSpaces().isEmpty()) { if (!space.getAuxTrafficSpaces().isEmpty()) {
CityObjectGroupNode auxTrafficSpacesGroupNode = new CityObjectGroupNode(space.getTrafficSpaces(), CityObjectGroupNode auxTrafficSpacesGroupNode = new CityObjectGroupNode(space.getAuxTrafficSpaces(),
"AUXILIARY_TRAFFIC_SPACE", Color.YELLOW); "AUXILIARY_TRAFFIC_SPACE", Color.YELLOW);
TreeItem<Renderable> auxTrafficSpacesGroupItem = new TreeItem<>(auxTrafficSpacesGroupNode); TreeItem<Renderable> auxTrafficSpacesGroupItem = new TreeItem<>(auxTrafficSpacesGroupNode);
root.getChildren().add(auxTrafficSpacesGroupItem); root.getChildren().add(auxTrafficSpacesGroupItem);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment