From 69d45f9d0de82afc449cd556985160029da7af54 Mon Sep 17 00:00:00 2001
From: Andreas Schenk <andreas_schenk@hms.harvard.edu>
Date: Fri, 22 Apr 2011 10:50:59 -0400
Subject: [PATCH] modified SetXXXInfoItem to not use default xmls

---
 modules/info/src/info_item.cc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/modules/info/src/info_item.cc b/modules/info/src/info_item.cc
index d08116b55..f57b53e13 100644
--- a/modules/info/src/info_item.cc
+++ b/modules/info/src/info_item.cc
@@ -219,27 +219,27 @@ String GetStringInfoItem(const InfoGroup& ig, const InfoPath& path, const String
 
 void SetFloatInfoItem(InfoGroup ig, const InfoPath& path, Real val)
 {
-  ig.RetrieveItem(path).SetFloat(val);
+  ig.RetrieveItem(path,false).SetFloat(val);
 }
 
 void SetIntInfoItem(InfoGroup ig, const InfoPath& path, int val)
 {
-  ig.RetrieveItem(path).SetInt(val);
+  ig.RetrieveItem(path,false).SetInt(val);
 }
 
 void SetBoolInfoItem(InfoGroup ig, const InfoPath& path, bool val)
 {
-  ig.RetrieveItem(path).SetBool(val);
+  ig.RetrieveItem(path,false).SetBool(val);
 }
 
 void SetVectorInfoItem(InfoGroup ig, const InfoPath& path, const geom::Vec3& val)
 {
-  ig.RetrieveItem(path).SetVector(val);
+  ig.RetrieveItem(path,false).SetVector(val);
 }
 
 void SetStringInfoItem(InfoGroup ig, const InfoPath& path, const String& val)
 {
-  ig.RetrieveItem(path).SetValue(val);
+  ig.RetrieveItem(path,false).SetValue(val);
 }
 
 }} // ns
-- 
GitLab