Changeset 6979 in orxonox.OLD for trunk/src/lib/graphics/effects
- Timestamp:
- Feb 2, 2006, 12:29:27 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/effects/graphics_effect.cc
r6977 r6979 37 37 this->setClassID(CL_GRAPHICS_EFFECT, "GraphicsEffect"); 38 38 this->bActivated = false; 39 40 this->bActivated = GraphicsEngine::getInstance()->loadGraphicsEffect(this);41 39 } 42 40 … … 47 45 GraphicsEffect::~GraphicsEffect() 48 46 { 49 if( this->bActivated) 50 GraphicsEngine::getInstance()->unloadGraphicsEffect(this); 47 51 48 } 52 49
Note: See TracChangeset
for help on using the changeset viewer.