Commit 86336bdf authored by Riegel's avatar Riegel
Browse files

Fix: Fix parsing of Intersections

parent 23051003
...@@ -428,6 +428,7 @@ public class CityDoctorController { ...@@ -428,6 +428,7 @@ public class CityDoctorController {
root.getChildren().remove(root.getChildren().size() - 1); root.getChildren().remove(root.getChildren().size() - 1);
chunkCounter.incrementAndGet(); chunkCounter.incrementAndGet();
int visibleFeatures = countVisibleNodes(view); int visibleFeatures = countVisibleNodes(view);
buildTreeFromList(list, root, chunkCounter); buildTreeFromList(list, root, chunkCounter);
updateTree(root); updateTree(root);
if (selectedIndex >= 0) { if (selectedIndex >= 0) {
...@@ -675,7 +676,7 @@ public class CityDoctorController { ...@@ -675,7 +676,7 @@ public class CityDoctorController {
} }
if (!top.getIntersections().isEmpty()) { if (!top.getIntersections().isEmpty()) {
CityObjectGroupNode intersectionsGroupNode = new CityObjectGroupNode(top.getSections(), CityObjectGroupNode intersectionsGroupNode = new CityObjectGroupNode(top.getIntersections(),
"Intersections", Color.YELLOW); "Intersections", Color.YELLOW);
TreeItem<Renderable> intersectionsGroupItem = new TreeItem<>(intersectionsGroupNode); TreeItem<Renderable> intersectionsGroupItem = new TreeItem<>(intersectionsGroupNode);
root.getChildren().add(intersectionsGroupItem); root.getChildren().add(intersectionsGroupItem);
......
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