@@ -1639,7 +1639,7 @@ GNEAdditionalHandler::buildPOI(const CommonXMLStructure::SumoBaseObject* /*sumoB
16391639 // parse icon
16401640 const POIIcon ic = SUMOXMLDefinitions::POIIcons.hasString (icon) ? SUMOXMLDefinitions::POIIcons.get (icon) : POIIcon::NONE;
16411641 // create POI
1642- GNEPOI* POI = new GNEPOI (id, myNet, myFileBucket, type, color, pos, false , POIIcon , layer, angle, imgFile, width, height, name, parameters);
1642+ GNEPOI* POI = new GNEPOI (id, myNet, myFileBucket, type, color, pos, false , ic , layer, angle, imgFile, width, height, name, parameters);
16431643 // add it depending of allow undoRed
16441644 if (myAllowUndoRedo) {
16451645 myNet->getUndoList ()->begin (POI, TLF (" add POI '%'" , id));
@@ -1684,7 +1684,7 @@ GNEAdditionalHandler::buildPOILane(const CommonXMLStructure::SumoBaseObject* /*s
16841684 // parse icon
16851685 const POIIcon ic = SUMOXMLDefinitions::POIIcons.hasString (icon) ? SUMOXMLDefinitions::POIIcons.get (icon) : POIIcon::NONE;
16861686 // create POI (use GNEAdditional instead GNEPOI for add child references)
1687- GNEAdditional* POILane = new GNEPOI (id, myNet, myFileBucket, type, color, lane, posOverLane, friendlyPos, posLat, POIIcon , layer,
1687+ GNEAdditional* POILane = new GNEPOI (id, myNet, myFileBucket, type, color, lane, posOverLane, friendlyPos, posLat, ic , layer,
16881688 angle, imgFile, width, height, name, parameters);
16891689 // add it depending of allow undoRed
16901690 if (myAllowUndoRedo) {
@@ -1728,7 +1728,7 @@ GNEAdditionalHandler::buildPOIGeo(const CommonXMLStructure::SumoBaseObject* /*su
17281728 // parse icon
17291729 const POIIcon ic = SUMOXMLDefinitions::POIIcons.hasString (icon) ? SUMOXMLDefinitions::POIIcons.get (icon) : POIIcon::NONE;
17301730 // create POIGEO
1731- GNEPOI* POIGEO = new GNEPOI (id, myNet, myFileBucket, type, color, pos, true , POIIcon , layer, angle, imgFile, width, height, name, parameters);
1731+ GNEPOI* POIGEO = new GNEPOI (id, myNet, myFileBucket, type, color, pos, true , ic , layer, angle, imgFile, width, height, name, parameters);
17321732 // add it depending of allow undoRed
17331733 if (myAllowUndoRedo) {
17341734 myNet->getUndoList ()->begin (POIGEO, TLF (" add POI GEO '%'" , id));
0 commit comments