Changeset 2534 for code/branches/buildsystem2/src/orxonox/gamestates
- Timestamp:
- Dec 28, 2008, 7:12:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/src/orxonox/gamestates/GSGraphics.cc
r2512 r2534 31 31 32 32 #include <fstream> 33 #include <boost/filesystem.hpp> 34 33 35 #include <OgreConfigFile.h> 34 36 #include <OgreFrameListener.h> … … 371 373 ogrePluginsFolder_ = "."; 372 374 373 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32 374 convertToWindowsPath(&ogrePluginsFolder_); 375 #else 376 convertToUnixPath(&ogrePluginsFolder_); 377 #endif 378 375 boost::filesystem::path folder(ogrePluginsFolder_); 379 376 // Do some SubString magic to get the comma separated list of plugins 380 377 SubString plugins(ogrePlugins_, ",", " ", false, 92, false, 34, false, 40, 41, false, '\0'); 381 378 for (unsigned int i = 0; i < plugins.size(); ++i) 382 ogreRoot_->loadPlugin( ogrePluginsFolder_ + plugins[i]);379 ogreRoot_->loadPlugin((folder / plugins[i]).native_file_string()); 383 380 } 384 381
Note: See TracChangeset
for help on using the changeset viewer.