Skip to content

Commit

Permalink
fixing parameter forwarding #14198
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Mar 11, 2024
1 parent cf23bf6 commit ed1a1c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/microsim/transportables/MSStageTrip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,11 @@ MSStageTrip::setArrived(MSNet* net, MSTransportable* transportable, SUMOTime now
}
} else {
// append stage so the GUI won't crash due to inconsistent state
transportable->appendStage(new MSStageWalking(transportable->getID(), ConstMSEdgeVector({ myOrigin, myDestination }), myDestinationStop, myDuration, mySpeed, previous->getArrivalPos(), myArrivalPos, myDepartPosLat), stageIndex++);
previous = new MSStageWalking(transportable->getID(), ConstMSEdgeVector({ myOrigin, myDestination }), myDestinationStop, myDuration, mySpeed, previous->getArrivalPos(), myArrivalPos, myDepartPosLat);
if (hasParameter("pushParam")) {
previous->setParameters(*this);
}
transportable->appendStage(previous, stageIndex++);
if (MSGlobals::gCheckRoutes) { // if not pedestrians will teleport
if (vehicle != nullptr) {
vehControl.deleteVehicle(vehicle, true);
Expand Down
Empty file modified tools/build_config/buildWindowsSUMOWheel.py
100644 → 100755
Empty file.

0 comments on commit ed1a1c6

Please sign in to comment.