Skip to content

Commit

Permalink
Fixed error in drawDottedContourExtruded. Refs #13894
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Dec 19, 2023
1 parent 4585731 commit b7e7461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netedit/elements/GNEContour.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ GNEContour::drawDottedContourExtruded(const GUIVisualizationSettings& s, const P
// first build dotted contour
buildDottedContourExtruded(s, shape, extrusionWidth, scale, drawFirstExtrem, drawLastExtrem);
// check if mouse is within geometry
myAC->getGUIGlObject()->positionWithinGeometry(myAC->getNet()->getViewNet()->getPositionInformation(), *myCachedShape, myCachedDoubles->at(0));
myAC->getGUIGlObject()->positionWithinGeometry(myAC->getNet()->getViewNet()->getPositionInformation(), shape, extrusionWidth * scale);
// draw dotted contours
drawDottedContours(s, scale, true, lineWidth);
}
Expand Down

0 comments on commit b7e7461

Please sign in to comment.