Changeset 7367 in orxonox.OLD for branches/cd
- Timestamp:
- Apr 25, 2006, 3:37:53 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/cd/src/subprojects/framework.cc
r7256 r7367 34 34 LightManager::getInstance(); 35 35 36 const char* dataPath; 37 if ((dataPath = Preferences::getInstance()->getString(CONFIG_SECTION_DATA, CONFIG_NAME_DATADIR, ""))!= NULL) 36 std::string dataPath = //Preferences::getInstance()->getString(CONFIG_SECTION_DATA, CONFIG_NAME_DATADIR, ""); 37 "/home/grauerb/svn/orxonox/data"; 38 printf("%s\n", dataPath.c_str()); 39 if (!dataPath.empty()) 38 40 { 39 41 if (!ResourceManager::getInstance()->setDataDir(dataPath)) … … 48 50 PRINTF(1)("The DataDirectory %s could not be verified\n" \ 49 51 " Please Change in File %s Section %s Entry %s to a suitable value\n", 50 ResourceManager::getInstance()->getDataDir() ,52 ResourceManager::getInstance()->getDataDir().c_str(), 51 53 DEFAULT_CONFIG_FILE, 52 54 CONFIG_SECTION_DATA,
Note: See TracChangeset
for help on using the changeset viewer.