Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2008, 9:11:12 AM (15 years ago)
Author:
landauf
Message:
  • GlobalShader in dedicated mode works again
  • Shooting as a client works
  • Fixed problem with NotificationQueue
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/orxonox/objects/GlobalShader.cc

    r2485 r2501  
    4545        if (!this->getScene())
    4646            ThrowException(AbortLoading, "Can't create GlobalShader, no scene given.");
    47         if (!this->getScene()->getSceneManager())
    48             ThrowException(AbortLoading, "Can't create GlobalShader, no scene manager given.");
     47//        if (!this->getScene()->getSceneManager())
     48//            ThrowException(AbortLoading, "Can't create GlobalShader, no scene manager given.");
    4949
    50         this->shader_.setSceneManager(this->getScene()->getSceneManager());
     50        if (this->getScene()->getSceneManager())
     51            this->shader_.setSceneManager(this->getScene()->getSceneManager());
    5152
    5253        this->registerVariables();
Note: See TracChangeset for help on using the changeset viewer.