Skip to content

Commit

Permalink
Fixed error drawing contours around circles. Refs #13894
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Dec 19, 2023
1 parent 8a03a7f commit e4597c7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/netedit/elements/GNEContour.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,8 @@ GNEContour::buildContourCircle(const GUIVisualizationSettings& s, const GUIVisua
// get resolution
int resolution = 1;
if (d <= GUIVisualizationSettings::Detail::CircleResolution32) {
resolution = 32;
} else if (d <= GUIVisualizationSettings::Detail::CircleResolution16) {
resolution = 16;
} else if (d <= GUIVisualizationSettings::Detail::CircleResolution8) {
} else if (d <= GUIVisualizationSettings::Detail::CircleResolution16) {
resolution = 8;
} else {
resolution = 4;
Expand Down

0 comments on commit e4597c7

Please sign in to comment.