Changeset 10240 in orxonox.OLD for branches/mount_points/src/lib/graphics/importer/oif
- Timestamp:
- Jan 16, 2007, 11:04:11 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/oif/object_information_file.cc
r10239 r10240 29 29 */ 30 30 OIFData::OIFData() 31 {} 31 { 32 this->_root = NULL; 33 } 32 34 33 35 … … 38 40 OIFData::OIFData(const std::string& fileName) 39 41 { 42 this->_root = NULL; 43 40 44 this->load(fileName); 41 45 } … … 48 52 void OIFData::load(const std::string& fileName) 49 53 { 50 //54 PRINTF(0)("loading %s as oif data\n", fileName.c_str()); 51 55 if( fileName.empty()) 52 56 { … … 60 64 { 61 65 // report an error 62 PRINTF( 3)("Could not load XML File %s: %s @ %d:%d\n", fileName.c_str(), XMLDoc.ErrorDesc(), XMLDoc.ErrorRow(), XMLDoc.ErrorCol());66 PRINTF(1)("Could not load XML File %s: %s @ %d:%d\n", fileName.c_str(), XMLDoc.ErrorDesc(), XMLDoc.ErrorRow(), XMLDoc.ErrorCol()); 63 67 return; 64 68 }
Note: See TracChangeset
for help on using the changeset viewer.