Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 6:37:31 PM (16 years ago)
Author:
landauf
Message:

fixed shader/camera crash

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/tools/Shader.cc

    r2361 r2396  
    8383    Shader::~Shader()
    8484    {
    85 /*
    86         if (this->isInitialized() && this->bLoadCompositor_ && this->compositor_ != "")
     85
     86        if (this->bLoadCompositor_ && this->compositorInstance_)
    8787        {
    8888            Ogre::Viewport* viewport = GraphicsEngine::getInstance().getViewport();
     
    9090            Ogre::CompositorManager::getSingleton().removeCompositor(viewport, this->compositor_);
    9191        }
    92 */
     92
    9393    }
    9494
Note: See TracChangeset for help on using the changeset viewer.