Changeset 10241 in orxonox.OLD for branches/mount_points/src/lib/graphics/importer/oif/object_information_file.cc
- Timestamp:
- Jan 16, 2007, 11:43:15 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/oif/object_information_file.cc
r10240 r10241 52 52 void OIFData::load(const std::string& fileName) 53 53 { 54 PRINTF(0)("loading %sas oif data\n", fileName.c_str());55 54 PRINTF(0)("loading |%s| as oif data\n", fileName.c_str()); 55 if( fileName.empty()) 56 56 { 57 PRINTF( 3)("No filename specified for object information loading");57 PRINTF(0)("No filename specified for object information loading"); 58 58 return; 59 59 } … … 64 64 { 65 65 // report an error 66 PRINTF( 1)("Could not load XML File %s: %s @ %d:%d\n", fileName.c_str(), XMLDoc.ErrorDesc(), XMLDoc.ErrorRow(), XMLDoc.ErrorCol());66 PRINTF(0)("Could not load XML File %s: %s @ %d:%d\n", fileName.c_str(), XMLDoc.ErrorDesc(), XMLDoc.ErrorRow(), XMLDoc.ErrorCol()); 67 67 return; 68 68 } … … 75 75 { 76 76 // report an error 77 PRINTF( 2)("Specified XML File is not an orxonox object information file (<ObjectInformationFile> element missing)\n");77 PRINTF(0)("Specified XML File is not an orxonox object information file (<ObjectInformationFile> element missing)\n"); 78 78 return; 79 79 } 80 PRINTF(0)("OIF loaded\n"); 80 81 81 82 } … … 139 140 140 141 142 void ObjectInformationFile::load(const std::string& fileName) 143 { 144 } 145 146 141 147 /** 142 148 * standard deconstructor
Note: See TracChangeset
for help on using the changeset viewer.