Skip to content

Commit

Permalink
fix #14813
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed May 2, 2024
1 parent 9e5d18c commit 3f7e589
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/guisim/GUILane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1282,6 +1282,9 @@ GUILane::getColorValue(const GUIVisualizationSettings& s, int activeScheme) cons
return 4;
case SVC_AUTHORITY:
return 8;
case SVC_AIRCRAFT:
case SVC_DRONE:
return 11;
default:
break;
}
Expand Down
3 changes: 3 additions & 0 deletions src/netedit/elements/network/GNELane.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,9 @@ GNELane::getColorValue(const GUIVisualizationSettings& s, int activeScheme) cons
return 4;
case SVC_AUTHORITY:
return 8;
case SVC_AIRCRAFT:
case SVC_DRONE:
return 12;
default:
break;
}
Expand Down
4 changes: 3 additions & 1 deletion src/utils/gui/settings/GUIVisualizationSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ GUIVisualizationSettings::initSumoGuiDefaults() {
scheme.addColor(RGBColor::RED, 8, TL("closed")); // road closing
scheme.addColor(RGBColor::GREEN, 9, TL("connector")); // macro-connector
scheme.addColor(RGBColor::ORANGE, 10, TL("forbidden")); // forbidden road
scheme.addColor(RGBColor(200, 240, 240), 11, TL("airway"));
laneColorer.addScheme(scheme);
scheme = GUIColorScheme(SCHEME_NAME_SELECTION, RGBColor(128, 128, 128, 255), TL("unselected"), true, 0, COL_SCHEME_MISC);
scheme.addColor(RGBColor(0, 80, 180, 255), 1, TL("selected"));
Expand Down Expand Up @@ -1508,7 +1509,8 @@ GUIVisualizationSettings::initNeteditDefaults() {
scheme.addColor(RGBColor::RED, 8, TL("closed")); // road closing
scheme.addColor(RGBColor::GREEN, 9, TL("connector")); // macro-connector
scheme.addColor(RGBColor::ORANGE, 10, TL("forbidden")); // forbidden road
scheme.addColor(RGBColor(145, 145, 145), 11., TL("data mode"));
scheme.addColor(RGBColor(145, 145, 145), 11, TL("data mode"));
scheme.addColor(RGBColor(200, 240, 240), 12, TL("airway"));
laneColorer.addScheme(scheme);
scheme = GUIColorScheme(SCHEME_NAME_SELECTION, RGBColor(128, 128, 128, 255), TL("unselected"), true, 0, COL_SCHEME_MISC);
scheme.addColor(RGBColor(0, 80, 180, 255), 1., TL("selected"));
Expand Down

0 comments on commit 3f7e589

Please sign in to comment.