Skip to content

Commit

Permalink
Fixed #15567
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Oct 16, 2024
1 parent 1b4ba75 commit 59b442e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/netedit/elements/demand/GNEStopPlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,10 +248,10 @@ GNEStopPlan::drawGL(const GUIVisualizationSettings& s) const {
// calculate contour and draw dotted geometry
myStopContour.calculateContourExtrudedShape(s, d, this, myDemandElementGeometry.getShape(), 0.3, exaggeration, false, true, 0);
myStopSignContour.calculateContourCircleShape(s, d, this, mySignPosition, s.additionalSettings.stopEdgeSize, exaggeration);
// check if draw plan parent
if (getParentDemandElements().at(0)->getPreviousChildDemandElement(this) == nullptr) {
getParentDemandElements().at(0)->drawGL(s);
}
}
// check if draw plan parent
if (getParentDemandElements().at(0)->getPreviousChildDemandElement(this) == nullptr) {
getParentDemandElements().at(0)->drawGL(s);
}
}

Expand Down

0 comments on commit 59b442e

Please sign in to comment.