[Orxonox-commit 4906] r9575 - code/trunk/src/libraries/core

fmauro at orxonox.net fmauro at orxonox.net
Mon Mar 25 13:18:15 CET 2013


Author: fmauro
Date: 2013-03-25 13:18:15 +0100 (Mon, 25 Mar 2013)
New Revision: 9575

Modified:
   code/trunk/src/libraries/core/GUIManager.cc
Log:
Force CEGUI to use Xerces parser instead of TinyXML with versions 0.7.5 and up

Modified: code/trunk/src/libraries/core/GUIManager.cc
===================================================================
--- code/trunk/src/libraries/core/GUIManager.cc	2013-03-24 21:48:47 UTC (rev 9574)
+++ code/trunk/src/libraries/core/GUIManager.cc	2013-03-25 12:18:15 UTC (rev 9575)
@@ -317,6 +317,9 @@
         guiSystem_ = &System::create(*guiRenderer_, resourceProvider_, 0, imageCodec_, scriptModule_);
 #endif
 
+	// Force Xerces parser (CEGUI 0.7.5+)
+	CEGUI::System::getSingleton().setXMLParser("XercesParser");
+
         // Align CEGUI mouse with OIS mouse
         guiSystem_->injectMousePosition((float)mousePosition.first, (float)mousePosition.second);
 




More information about the Orxonox-commit mailing list