aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/DataSnapshot/ObjectSnapshot.cs')
-rw-r--r--OpenSim/Region/DataSnapshot/ObjectSnapshot.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs b/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs
index c23c697..ba797ba 100644
--- a/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs
+++ b/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs
@@ -105,6 +105,9 @@ namespace OpenSim.Region.DataSnapshot.Providers
105 105
106 m_log.Debug("[DATASNAPSHOT]: Found object " + obj.Name + " in scene"); 106 m_log.Debug("[DATASNAPSHOT]: Found object " + obj.Name + " in scene");
107 107
108 // libomv will complain about PrimFlags.JointWheel
109 // being obsolete, so we...
110 #pragma warning disable 0612
108 if ((obj.RootPart.Flags & PrimFlags.JointWheel) == PrimFlags.JointWheel) { 111 if ((obj.RootPart.Flags & PrimFlags.JointWheel) == PrimFlags.JointWheel) {
109 XmlNode xmlobject = nodeFactory.CreateNode(XmlNodeType.Element, "object", ""); 112 XmlNode xmlobject = nodeFactory.CreateNode(XmlNodeType.Element, "object", "");
110 113
@@ -142,6 +145,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
142 } 145 }
143 parent.AppendChild(xmlobject); 146 parent.AppendChild(xmlobject);
144 } 147 }
148 #pragma warning disable 0612
145 } 149 }
146 } 150 }
147 this.Stale = false; 151 this.Stale = false;