Skip to content

Commit

Permalink
updated vType parameter dialog refs #8873, #36
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 11, 2022
1 parent b595c1d commit b57c8c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/guisim/GUIVehicle.cpp
Expand Up @@ -241,7 +241,9 @@ GUIVehicle::getTypeParameterWindow(GUIMainWindow& app,
if (MSGlobals::gLateralResolution > 0) {
ret->mkItem("minGapLat", false, myType->getMinGapLat());
ret->mkItem("maxSpeedLat", false, myType->getMaxSpeedLat());
ret->mkItem("latAlignment", false, toString(myType->getPreferredLateralAlignment()));
ret->mkItem("latAlignment", false, myType->getPreferredLateralAlignment() == LatAlignmentDefinition::GIVEN
? toString(myType->getPreferredLateralAlignmentOffset())
: toString(myType->getPreferredLateralAlignment()));
} else if (MSGlobals::gLaneChangeDuration > 0) {
ret->mkItem("maxSpeedLat", false, myType->getMaxSpeedLat());
}
Expand Down

0 comments on commit b57c8c4

Please sign in to comment.