Changeset 10242 in orxonox.OLD for branches/mount_points
- Timestamp:
- Jan 16, 2007, 11:50:57 PM (18 years ago)
- Location:
- branches/mount_points/src/lib/graphics/importer/oif
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/oif/object_information_file.cc
r10241 r10242 142 142 void ObjectInformationFile::load(const std::string& fileName) 143 143 { 144 this->data = OIFData::Pointer(new OIFData(fileName)); 144 145 } 145 146 -
branches/mount_points/src/lib/graphics/importer/oif/resource_oif.cc
r10241 r10242 29 29 if (ptr) 30 30 { 31 PRINTF( 5)("FOUND OIF: %s\n", fileName.c_str());31 PRINTF(0)("FOUND OIF: %s\n", fileName.c_str()); 32 32 this->acquireData(static_cast<ResourceOIF::OIFResourcePointer*>(ptr)->ptr()); 33 33 } 34 34 else 35 35 { 36 PRINTF( 5)("NOT FOUND OIF: %s\n", fileName.c_str());36 PRINTF(0)("NOT FOUND OIF: %s\n", fileName.c_str()); 37 37 std::string fullName = this->Resource::locateFile(fileName); 38 39 this-> ObjectInformationFile::load(fileName);38 PRINTF(0)("trying loading of: %s\n", fullName.c_str()); 39 this->load(fullName); 40 40 this->Resource::addResource(new ResourceOIF::OIFResourcePointer(fileName, keepLevel, this->ObjectInformationFile::dataPointer())); 41 41 }
Note: See TracChangeset
for help on using the changeset viewer.