aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs
diff options
context:
space:
mode:
authorJeff Ames2008-05-18 23:06:50 +0000
committerJeff Ames2008-05-18 23:06:50 +0000
commit6ec680918bc6876f1c1382fb534b653fc34da052 (patch)
tree7eedbb3fa05b9540de9bba4a583795f1ba919de4 /OpenSim/Region/DataSnapshot/ObjectSnapshot.cs
parentUpdate svn properties. (diff)
downloadopensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.zip
opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.tar.gz
opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.tar.bz2
opensim-SC-6ec680918bc6876f1c1382fb534b653fc34da052.tar.xz
Formatting cleanup, minor refactoring. Fixed some comparisons of value types and null.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/DataSnapshot/ObjectSnapshot.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs b/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs
index af73ba0..e5b2ad4 100644
--- a/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs
+++ b/OpenSim/Region/DataSnapshot/ObjectSnapshot.cs
@@ -79,7 +79,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
79 client.OnObjectPermissions += delegate(IClientAPI controller, LLUUID agentID, LLUUID sessionID, 79 client.OnObjectPermissions += delegate(IClientAPI controller, LLUUID agentID, LLUUID sessionID,
80 byte field, uint localId, uint mask, byte set) { this.Stale = true; }; 80 byte field, uint localId, uint mask, byte set) { this.Stale = true; };
81 client.OnRezObject += delegate(IClientAPI remoteClient, LLUUID itemID, LLVector3 RayEnd, 81 client.OnRezObject += delegate(IClientAPI remoteClient, LLUUID itemID, LLVector3 RayEnd,
82 LLVector3 RayStart, LLUUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, 82 LLVector3 RayStart, LLUUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection,
83 uint EveryoneMask, uint GroupMask, uint NextOwnerMask, uint ItemFlags, bool RezSelected, 83 uint EveryoneMask, uint GroupMask, uint NextOwnerMask, uint ItemFlags, bool RezSelected,
84 bool RemoveItem, LLUUID fromTaskID) { this.Stale = true; }; 84 bool RemoveItem, LLUUID fromTaskID) { this.Stale = true; };
85 } 85 }
@@ -99,7 +99,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
99 foreach (EntityBase entity in m_scene.Entities.Values) 99 foreach (EntityBase entity in m_scene.Entities.Values)
100 { 100 {
101 // only objects, not avatars 101 // only objects, not avatars
102 if (entity is SceneObjectGroup) 102 if (entity is SceneObjectGroup)
103 { 103 {
104 SceneObjectGroup obj = (SceneObjectGroup)entity; 104 SceneObjectGroup obj = (SceneObjectGroup)entity;
105 105
@@ -135,7 +135,7 @@ namespace OpenSim.Region.DataSnapshot.Providers
135 node = nodeFactory.CreateNode(XmlNodeType.Element, "description", ""); 135 node = nodeFactory.CreateNode(XmlNodeType.Element, "description", "");
136 node.InnerText = m_rootPart.Description; 136 node.InnerText = m_rootPart.Description;
137 xmlobject.AppendChild(node); 137 xmlobject.AppendChild(node);
138 138
139 node = nodeFactory.CreateNode(XmlNodeType.Element, "flags", ""); 139 node = nodeFactory.CreateNode(XmlNodeType.Element, "flags", "");
140 node.InnerText = String.Format("{0:x}", m_rootPart.ObjectFlags); 140 node.InnerText = String.Format("{0:x}", m_rootPart.ObjectFlags);
141 xmlobject.AppendChild(node); 141 xmlobject.AppendChild(node);