Skip to content

Commit

Permalink
Fixed output of GNEChange_Crossing in testing mode (II). Refs #3045
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/behr_mi/git/sumo_synched/trunk@24215 afbd958f-9f77-42d5-a016-97a22340ccf4
  • Loading branch information
palvarezlopez committed May 6, 2017
1 parent 42edadf commit 4e51878
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sumo/src/netedit/GNEChange_Crossing.cpp
Expand Up @@ -66,7 +66,7 @@ void GNEChange_Crossing::undo() {
if (myForward) {
// show extra information for tests
if (myJunctionParent->getNet()->getViewNet()->isTestingModeEnabled()) {
WRITE_WARNING("Deleting " + toString(SUMO_TAG_CROSSING) + " from '" + myJunctionParent->getID() + "'");
WRITE_WARNING("Deleting " + toString(SUMO_TAG_CROSSING) + " from " + toString(myJunctionParent->getTag()) + " '" + myJunctionParent->getID() + "'");
}
// remove crossing of NBNode and update geometry
myJunctionParent->getNBNode()->removeCrossing(myEdges);
Expand All @@ -76,7 +76,7 @@ void GNEChange_Crossing::undo() {
} else {
// show extra information for tests
if (myJunctionParent->getNet()->getViewNet()->isTestingModeEnabled()) {
WRITE_WARNING("Adding " + toString(SUMO_TAG_CROSSING) + " from '" + myJunctionParent->getID() + "'");
WRITE_WARNING("Adding " + toString(SUMO_TAG_CROSSING) + " into " + toString(myJunctionParent->getTag()) + " '" + myJunctionParent->getID() + "'");
}
// add crossing of NBNode and update geometry
myJunctionParent->getNBNode()->addCrossing(myEdges, myWidth, myPriority);
Expand All @@ -91,7 +91,7 @@ void GNEChange_Crossing::redo() {
if (myForward) {
// show extra information for tests
if (myJunctionParent->getNet()->getViewNet()->isTestingModeEnabled()) {
WRITE_WARNING("Adding " + toString(SUMO_TAG_CROSSING) + " from '" + myJunctionParent->getID() + "'");
WRITE_WARNING("Adding " + toString(SUMO_TAG_CROSSING) + " into " + toString(myJunctionParent->getTag()) + " '" + myJunctionParent->getID() + "'");
}
// add crossing of NBNode and update geometry
myJunctionParent->getNBNode()->addCrossing(myEdges, myWidth, myPriority);
Expand All @@ -101,7 +101,7 @@ void GNEChange_Crossing::redo() {
} else {
// show extra information for tests
if (myJunctionParent->getNet()->getViewNet()->isTestingModeEnabled()) {
WRITE_WARNING("Deleting " + toString(SUMO_TAG_CROSSING) + " from '" + myJunctionParent->getID() + "'");
WRITE_WARNING("Deleting " + toString(SUMO_TAG_CROSSING) + " from " + toString(myJunctionParent->getTag()) + " '" + myJunctionParent->getID() + "'");
}
// remove crossing of NBNode and update geometry
myJunctionParent->getNBNode()->removeCrossing(myEdges);
Expand Down

0 comments on commit 4e51878

Please sign in to comment.