Changeset 3280 for code/trunk/src/orxonox/overlays/hud/HUDBar.cc
- Timestamp:
- Jul 12, 2009, 11:58:01 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core4 (added) merged: 3235-3237,3245-3250,3253-3254,3260-3261,3265,3270
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/hud/HUDBar.cc
r3196 r3280 38 38 39 39 #include "util/Convert.h" 40 #include "util/String .h"40 #include "util/StringUtils.h" 41 41 #include "core/CoreIncludes.h" 42 42 #include "core/XMLPort.h" … … 72 72 73 73 // create new material 74 std::string materialname = "barmaterial" + getConvertedValue<unsigned int,std::string>(materialcount_s++);74 std::string materialname = "barmaterial" + multi_cast<std::string>(materialcount_s++); 75 75 Ogre::MaterialPtr material = (Ogre::MaterialPtr)Ogre::MaterialManager::getSingleton().create(materialname, "General"); 76 76 material->getTechnique(0)->getPass(0)->setSceneBlending(Ogre::SBT_TRANSPARENT_ALPHA);
Note: See TracChangeset
for help on using the changeset viewer.