Skip to content
Snippets Groups Projects
Commit 69d45f9d authored by Andreas Schenk's avatar Andreas Schenk
Browse files

modified SetXXXInfoItem to not use default xmls

parent 7a71c6bb
Branches
Tags
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment