Changeset 5641 for code/branches/resource2/src/core/GraphicsManager.cc
- Timestamp:
- Aug 13, 2009, 9:12:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource2/src/core/GraphicsManager.cc
r5614 r5641 115 115 SetConfigValue(ogreConfigFile_, "ogre.cfg") 116 116 .description("Location of the Ogre config file"); 117 SetConfigValue(ogrePlugins Folder_, ORXONOX_OGRE_PLUGINS_FOLDER)117 SetConfigValue(ogrePluginsDirectory_, specialConfig::ogrePluginsDirectory) 118 118 .description("Folder where the Ogre plugins are located."); 119 SetConfigValue(ogrePlugins_, ORXONOX_OGRE_PLUGINS)119 SetConfigValue(ogrePlugins_, specialConfig::ogrePlugins) 120 120 .description("Comma separated list of all plugins to load."); 121 121 SetConfigValue(ogreLogFile_, "ogre.log") … … 198 198 { 199 199 // just to make sure the next statement doesn't segfault 200 if (ogrePlugins Folder_ == "")201 ogrePlugins Folder_ = ".";202 203 boost::filesystem::path folder(ogrePlugins Folder_);200 if (ogrePluginsDirectory_ == "") 201 ogrePluginsDirectory_ = "."; 202 203 boost::filesystem::path folder(ogrePluginsDirectory_); 204 204 // Do some SubString magic to get the comma separated list of plugins 205 205 SubString plugins(ogrePlugins_, ",", " ", false, '\\', false, '"', false, '(', ')', false, '\0');
Note: See TracChangeset
for help on using the changeset viewer.