[Orxonox-commit 2083] r6799 - in code/trunk/src: modules/overlays orxonox/overlays
dafrick at orxonox.net
dafrick at orxonox.net
Thu Apr 29 12:57:24 CEST 2010
Author: dafrick
Date: 2010-04-29 12:57:23 +0200 (Thu, 29 Apr 2010)
New Revision: 6799
Modified:
code/trunk/src/modules/overlays/GUIOverlay.cc
code/trunk/src/orxonox/overlays/OrxonoxOverlay.cc
Log:
Adjusted the priority of some outputs which I found to be rather anoying.
Modified: code/trunk/src/modules/overlays/GUIOverlay.cc
===================================================================
--- code/trunk/src/modules/overlays/GUIOverlay.cc 2010-04-28 22:04:41 UTC (rev 6798)
+++ code/trunk/src/modules/overlays/GUIOverlay.cc 2010-04-29 10:57:23 UTC (rev 6799)
@@ -75,15 +75,14 @@
std::ostringstream out;
out << reinterpret_cast<long>(this);
const std::string& str = out.str();
- COUT(1) << "GUIManager ptr: " << str << std::endl;
GUIManager::getInstance().showGUIExtra(this->guiName_, str);
- COUT(3) << "Showing GUI " << this->guiName_ << std::endl;
+ COUT(4) << "Showing GUI " << this->guiName_ << std::endl;
}
else
{
GUIManager::hideGUI(this->guiName_);
- COUT(3) << "Hiding GUI " << this->guiName_ << std::endl;
+ COUT(4) << "Hiding GUI " << this->guiName_ << std::endl;
}
}
Modified: code/trunk/src/orxonox/overlays/OrxonoxOverlay.cc
===================================================================
--- code/trunk/src/orxonox/overlays/OrxonoxOverlay.cc 2010-04-28 22:04:41 UTC (rev 6798)
+++ code/trunk/src/orxonox/overlays/OrxonoxOverlay.cc 2010-04-29 10:57:23 UTC (rev 6799)
@@ -326,16 +326,15 @@
if (it != overlays_s.end())
{
OrxonoxOverlay* overlay= it->second;
- COUT(1) << "MUP" << std::endl;
if(overlay->isVisible())
{
overlay->hide();
- COUT(1) << "HIDE " << name << std::endl;
+ COUT(4) << "HIDE " << name << std::endl;
}
else
{
overlay->show();
- COUT(1) << "SHOW " << name << std::endl;
+ COUT(4) << "SHOW " << name << std::endl;
}
}
}
More information about the Orxonox-commit
mailing list