Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
86336bdf
Commit
86336bdf
authored
Apr 09, 2025
by
Riegel
Browse files
Fix: Fix parsing of Intersections
parent
23051003
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/CityDoctorController.java
View file @
86336bdf
...
...
@@ -428,6 +428,7 @@ public class CityDoctorController {
root
.
getChildren
().
remove
(
root
.
getChildren
().
size
()
-
1
);
chunkCounter
.
incrementAndGet
();
int
visibleFeatures
=
countVisibleNodes
(
view
);
buildTreeFromList
(
list
,
root
,
chunkCounter
);
updateTree
(
root
);
if
(
selectedIndex
>=
0
)
{
...
...
@@ -675,7 +676,7 @@ public class CityDoctorController {
}
if
(!
top
.
getIntersections
().
isEmpty
())
{
CityObjectGroupNode
intersectionsGroupNode
=
new
CityObjectGroupNode
(
top
.
get
S
ections
(),
CityObjectGroupNode
intersectionsGroupNode
=
new
CityObjectGroupNode
(
top
.
get
Inters
ections
(),
"Intersections"
,
Color
.
YELLOW
);
TreeItem
<
Renderable
>
intersectionsGroupItem
=
new
TreeItem
<>(
intersectionsGroupNode
);
root
.
getChildren
().
add
(
intersectionsGroupItem
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment