Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6941


Ignore:
Timestamp:
May 20, 2010, 8:17:16 PM (15 years ago)
Author:
scheusso
Message:

don't exactly know why, but this resolves the problem of the wrong material for arrow/marker overlay when a bot spawns inView

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hudelements/src/modules/overlays/hud/HUDNavigation.cc

    r6924 r6941  
    279279        Ogre::PanelOverlayElement* panel = static_cast<Ogre::PanelOverlayElement*>(Ogre::OverlayManager::getSingleton()
    280280            .createOverlayElement("Panel", "HUDNavigation_navMarker_" + getUniqueNumberString()));
    281         panel->setMaterialName("Orxonox/NavArrows");
     281        panel->setMaterialName("Orxonox/NavTDC");
    282282        panel->setDimensions(navMarkerSize_ * xScale, navMarkerSize_ * yScale);
    283283
     
    287287        text->setCharHeight(text->getCharHeight() * yScale);
    288288
    289         ObjectInfo tempStruct = {panel, text, true};
     289        ObjectInfo tempStruct = {panel, text, false};
    290290        activeObjectList_[object] = tempStruct;
    291291
Note: See TracChangeset for help on using the changeset viewer.