Changeset 5929 for code/trunk/src/libraries/core/MemoryArchive.cc
- Timestamp:
- Oct 12, 2009, 8:20:07 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core5 (added) merged: 5768-5769,5772,5775-5780,5783-5785,5791-5792,5795-5807,5809-5814,5816-5832,5836-5839,5842-5853,5855-5899,5904-5922,5924-5928
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/MemoryArchive.cc
r5781 r5929 68 68 continue; 69 69 if (bDirs) 70 file = file. parent_path();70 file = file.branch_path(); 71 71 if (file.empty()) 72 72 continue; 73 if (file.has_ parent_path() && !bRecursive)73 if (file.has_branch_path() && !bRecursive) 74 74 continue; 75 75 if (simpleList) … … 80 80 fi.archive = this; 81 81 fi.filename = file.string(); 82 fi.basename = file. filename();83 fi.path = file. parent_path().string();82 fi.basename = file.leaf(); 83 fi.path = file.branch_path().string(); 84 84 fi.compressedSize = it->second.second; 85 85 fi.uncompressedSize = it->second.second; … … 119 119 120 120 bool MemoryArchive::exists(const String& filename) 121 121 { 122 122 const FileMap& files = archives_s[this->getName()]; 123 123 return files.find(filename) != files.end(); 124 124 } 125 125 126 126 const Ogre::String& MemoryArchiveFactory::getType(void) const
Note: See TracChangeset
for help on using the changeset viewer.