[Orxonox-commit 960] r5683 - code/branches/resource2/src/core

rgrieder at orxonox.net rgrieder at orxonox.net
Wed Aug 26 20:54:18 CEST 2009


Author: rgrieder
Date: 2009-08-26 20:54:17 +0200 (Wed, 26 Aug 2009)
New Revision: 5683

Modified:
   code/branches/resource2/src/core/XMLFile.h
Log:
Bugfix for XMLFile. No comment please...

Modified: code/branches/resource2/src/core/XMLFile.h
===================================================================
--- code/branches/resource2/src/core/XMLFile.h	2009-08-25 16:53:13 UTC (rev 5682)
+++ code/branches/resource2/src/core/XMLFile.h	2009-08-26 18:54:17 UTC (rev 5683)
@@ -42,11 +42,13 @@
             XMLFile(const std::string& filename, const std::string& resourceGroup = "General")
                 : filename_(filename)
                 , group_(resourceGroup)
+                , bLuaSupport_(true)
             { }
             XMLFile(const ClassTreeMask& mask, const std::string& filename, const std::string& resourceGroup = "General")
                 : filename_(filename)
                 , group_(resourceGroup)
                 , mask_(mask)
+                , bLuaSupport_(true)
             { }
 
             void setLuaSupport(bool val) { bLuaSupport_ = val; }
@@ -60,7 +62,7 @@
             std::string filename_;
             std::string group_;
             ClassTreeMask mask_;
-            bool bLuaSupport_;
+            bool bLuaSupport_; // Default is true
     };
 }
 




More information about the Orxonox-commit mailing list