Skip to content
Snippets Groups Projects
Commit 2c5a8754 authored by Tobias Meuser's avatar Tobias Meuser
Browse files

Set inactive-node position to negative infinity

parent 235cd543
No related branches found
No related tags found
No related merge requests found
......@@ -192,7 +192,7 @@ public class SumoTraceMovementModel implements MovementModel, EventHandler {
});
freeComponents.forEach((component) -> {
component.updateCurrentLocation(new PositionVector(-1, -1));
component.updateCurrentLocation(new PositionVector(Double.NEGATIVE_INFINITY, Double.NEGATIVE_INFINITY));
try {
RoutedNetLayer routedNetLayer = component.getHost().getComponent(RoutedNetLayer.class);
for (SimNetInterface netInterface : routedNetLayer.getSimNetworkInterfaces()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment