[Orxonox-commit 2159] r6875 - code/branches/hudelements/src/modules/overlays/hud
sfluecki at orxonox.net
sfluecki at orxonox.net
Mon May 10 15:02:52 CEST 2010
Author: sfluecki
Date: 2010-05-10 15:02:52 +0200 (Mon, 10 May 2010)
New Revision: 6875
Modified:
code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.cc
Log:
ping & showGUI check done
Modified: code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.cc
===================================================================
--- code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.cc 2010-05-10 12:55:46 UTC (rev 6874)
+++ code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.cc 2010-05-10 13:02:52 UTC (rev 6875)
@@ -245,7 +245,7 @@
}
else
{
- COUT(0) << "check 241" << std::endl;
+
if (pos.y < -pos.x)
{
// down
@@ -294,9 +294,12 @@
tempRadarViewable->second.second->setLeft((pos.x + 1.0f + tempRadarViewable->second.first->getWidth()) * 0.5f);
tempRadarViewable->second.second->setTop((-pos.y + 1.0f + tempRadarViewable->second.first->getHeight()) * 0.5f);
}
+
+ tempRadarViewable->second.first->show();
+ tempRadarViewable->second.second->show();
+ COUT(0) << "ShowGUITest z300" << std::endl;
}
- tempRadarViewable->second.first->show();
- tempRadarViewable->second.second->show();
+
}
}
More information about the Orxonox-commit
mailing list