Changeset 9576 for code/trunk
- Timestamp:
- Mar 25, 2013, 9:40:27 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/GUIManager.cc
r9575 r9576 318 318 #endif 319 319 320 // Force Xerces parser (CEGUI 0.7.5+) 321 CEGUI::System::getSingleton().setXMLParser("XercesParser"); 320 CEGUI::String defaultXMLParserName = CEGUI::System::getSingleton().getDefaultXMLParserName(); 321 try 322 { 323 // Force Xerces parser (CEGUI 0.7.5+) 324 CEGUI::System::getSingleton().setXMLParser("XercesParser"); 325 } 326 catch (const CEGUI::GenericException& e) 327 { 328 // Fall back to default parser 329 orxout(internal_warning) << "Cannot use XercesParser for CEGUI - using " << defaultXMLParserName << " instead" << endl; 330 CEGUI::System::getSingleton().setXMLParser(defaultXMLParserName); 331 } 322 332 323 333 // Align CEGUI mouse with OIS mouse
Note: See TracChangeset
for help on using the changeset viewer.