Changeset 9795 in orxonox.OLD for branches/new_class_id/src/lib/util/loading/resource.cc
- Timestamp:
- Sep 23, 2006, 6:52:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/util/loading/resource.cc
r9794 r9795 50 50 51 51 std::string locatedFile; 52 locatedFile = locateFileInSubDir( Directory("/home/bensch/svn/orxonox/data/"), fileName);52 locatedFile = locateFileInSubDir(NewResourceManager::getInstance()->mainGlobalPath(), fileName); 53 53 if (!locatedFile.empty()) 54 54 { … … 56 56 return locatedFile; 57 57 } 58 return std::string("/home/bensch/svn/orxonox/data/") + fileName; 58 59 return (NewResourceManager::getInstance()->mainGlobalPath() + File(fileName)).name(); 59 60 } 60 61
Note: See TracChangeset
for help on using the changeset viewer.