Skip to content

Commit

Permalink
Fixed error editing GEO attribute. Refs #15776
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Nov 29, 2024
1 parent 7566338 commit 6404d52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/netedit/elements/additional/GNEPoly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,8 @@ GNEPoly::isAttributeEnabled(SumoXMLAttr key) const {
} else {
return true;
}
case SUMO_ATTR_GEO:
return GeoConvHelper::getFinal().getProjString() != "!";
case SUMO_ATTR_GEOSHAPE:
if (GeoConvHelper::getFinal().getProjString() != "!") {
return myGEO == true;
Expand Down

0 comments on commit 6404d52

Please sign in to comment.