Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2008, 2:24:10 AM (15 years ago)
Author:
landauf
Message:

changed a lot in Backlight, but not yet finished

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Billboard.cc

    r2171 r2182  
    4141    {
    4242        RegisterObject(Billboard);
     43
     44        this->material_ = "";
     45        this->colour_ = ColourValue::White;
    4346
    4447        this->registerVariables();
     
    8891        if (!this->billboard_.getBillboardSet())
    8992        {
    90             if (this->getScene() && this->getScene()->getSceneManager())
     93            if (this->getScene() && this->getScene()->getSceneManager() && (this->material_ != ""))
    9194            {
    9295                this->billboard_.setBillboardSet(this->getScene()->getSceneManager(), this->material_, this->colour_, 1);
Note: See TracChangeset for help on using the changeset viewer.