Changeset 9273 for code/branches/presentation2012merge
- Timestamp:
- Jun 3, 2012, 9:25:48 PM (13 years ago)
- Location:
- code/branches/presentation2012merge
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2012merge/data/levels/teamDeathMatch.oxw
r9269 r9273 25 25 <Scene 26 26 ambientlight = "0.7, 0.6, 0.6" 27 skybox = "Orxonox/ creeper1"27 skybox = "Orxonox/skypanoramagen1" 28 28 > 29 29 <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> -
code/branches/presentation2012merge/src/orxonox/Scene.cc
r8858 r9273 258 258 void Scene::setSkybox(const std::string& skybox) 259 259 { 260 if (GameMode::showsGraphics() && this->sceneManager_) 261 this->sceneManager_->setSkyBox(true, skybox); 260 try 261 { 262 if (GameMode::showsGraphics() && this->sceneManager_) 263 this->sceneManager_->setSkyBox(true, skybox); 264 } 265 catch (const Ogre::Exception&) 266 { 267 orxout(internal_error) << "Could not load skybox '" << skybox << "':" << endl; 268 orxout(internal_error) << Exception::handleMessage() << endl; 269 } 262 270 263 271 this->skybox_ = skybox;
Note: See TracChangeset
for help on using the changeset viewer.