- Timestamp:
- Apr 21, 2011, 8:29:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib2/src/modules/designtools/SkyboxGenerator.cc
r8234 r8288 172 172 this->setupRenderWindow(renderWindow); 173 173 // Add the log path to the standard resource group. 174 Ogre::ResourceGroupManager::getSingleton().addResourceLocation(PathConfig::getInstance().getLogPathString(), "FileSystem", Resource:: DEFAULT_GROUP);174 Ogre::ResourceGroupManager::getSingleton().addResourceLocation(PathConfig::getInstance().getLogPathString(), "FileSystem", Resource::getDefaultResourceGroup()); 175 175 176 176 COUT(4) << "Setting up SkyboxGenerator..." << endl; … … 207 207 this->restoreRenderWindow(renderWindow); 208 208 // Remove the log path from the standard resource group. 209 Ogre::ResourceGroupManager::getSingleton().removeResourceLocation(PathConfig::getInstance().getLogPathString(), Resource:: DEFAULT_GROUP);209 Ogre::ResourceGroupManager::getSingleton().removeResourceLocation(PathConfig::getInstance().getLogPathString(), Resource::getDefaultResourceGroup()); 210 210 211 211 // Reset the flow parameters for the next skybox generation. … … 310 310 // If someone figures this out, feel free to adjust. 311 311 image = new Ogre::Image(); 312 image->load(name, Resource:: DEFAULT_GROUP);312 image->load(name, Resource::getDefaultResourceGroup()); 313 313 image->resize(this->size_, this->size_); 314 314 image->save(PathConfig::getInstance().getLogPathString()+name);
Note: See TracChangeset
for help on using the changeset viewer.