Changeset 2232 for code/branches/weapon2/src/orxonox/objects/weaponSystem/projectiles/BillboardProjectile.cc
- Timestamp:
- Nov 19, 2008, 7:07:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/weapon2/src/orxonox/objects/weaponSystem/projectiles/BillboardProjectile.cc
r2099 r2232 42 42 RegisterObject(BillboardProjectile); 43 43 44 this->billboard_.setBillboardSet( "Examples/Flare", ColourValue(1.0, 1.0, 0.5), 1);45 this->attachObject(this->billboard_.getBillboardSet());44 this->billboard_.setBillboardSet(this->scenemanager_, "Examples/Flare", ColourValue(1.0, 1.0, 0.5), 1); 45 //this->attachObject(this->billboard_.getBillboardSet()); 46 46 this->scale(0.5); 47 47 } … … 49 49 BillboardProjectile::~BillboardProjectile() 50 50 { 51 if (this->isInitialized() && this->owner_)52 this->detachObject(this->billboard_.getBillboardSet());51 //if (this->isInitialized() && this->owner_) 52 //this->detachObject(this->billboard_.getBillboardSet()); 53 53 } 54 54
Note: See TracChangeset
for help on using the changeset viewer.