Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2297 for code/branches


Ignore:
Timestamp:
Nov 29, 2008, 12:40:31 AM (16 years ago)
Author:
rgrieder
Message:

Missed two getNode()→attachObject(…) in the last commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/orxonox/objects/worldentities/pawns/Spectator.cc

    r2087 r2297  
    6262        this->greetingFlare_ = new BillboardSet();
    6363        this->greetingFlare_->setBillboardSet(this->getScene()->getSceneManager(), "Examples/Flare", ColourValue(1.0, 1.0, 0.8), Vector3(0, 20, 0), 1);
    64         this->getNode()->attachObject(this->greetingFlare_->getBillboardSet());
     64        this->attachOgreObject(this->greetingFlare_->getBillboardSet());
    6565        this->greetingFlare_->setVisible(false);
    6666        this->bGreetingFlareVisible_ = false;
     
    7676            if (this->greetingFlare_)
    7777            {
    78                 this->getNode()->detachObject(this->greetingFlare_->getBillboardSet());
     78                this->detachOgreObject(this->greetingFlare_->getBillboardSet());
    7979                delete this->greetingFlare_;
    8080            }
Note: See TracChangeset for help on using the changeset viewer.