Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9149 in orxonox.OLD for branches/presentation/src/story_entities


Ignore:
Timestamp:
Jul 4, 2006, 3:53:25 PM (18 years ago)
Author:
bensch
Message:

segfault prevention

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/presentation/src/story_entities/game_world_data.cc

    r9019 r9149  
    343343  LoadParamXML(root, "GameRule", this, GameWorldData, loadGameRule);
    344344
     345  LoadParam(root, "clip-region", this->localCamera, Camera, setClipRegion);
     346
    345347
    346348  //LoadParamXML(root, "ParticleEngine", ParticleEngine::getInstance(), ParticleEngine, loadParams);
    347349  //LoadParamXML(root, "PhysicsEngine", PhysicsEngine::getInstance(), PhysicsEngine, loadParams);
    348350
    349   this->localCamera->setClipRegion(1, 10000.0);
    350351  if( this->sky != NULL)
    351352    this->localCamera->addChild(this->sky);
Note: See TracChangeset for help on using the changeset viewer.