diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 5652231..2c24c0f 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -206,7 +206,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
206 | private bool m_firstHeartbeat = true; | 206 | private bool m_firstHeartbeat = true; |
207 | 207 | ||
208 | private object m_deleting_scene_object = new object(); | 208 | private object m_deleting_scene_object = new object(); |
209 | private object m_cleaningAttachments = new object(); | ||
210 | 209 | ||
211 | private bool m_cleaningTemps = false; | 210 | private bool m_cleaningTemps = false; |
212 | 211 | ||
@@ -5081,41 +5080,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
5081 | } | 5080 | } |
5082 | } | 5081 | } |
5083 | 5082 | ||
5084 | // public void CleanDroppedAttachments() | ||
5085 | // { | ||
5086 | // List<SceneObjectGroup> objectsToDelete = | ||
5087 | // new List<SceneObjectGroup>(); | ||
5088 | // | ||
5089 | // lock (m_cleaningAttachments) | ||
5090 | // { | ||
5091 | // ForEachSOG(delegate (SceneObjectGroup grp) | ||
5092 | // { | ||
5093 | // if (grp.RootPart.Shape.PCode == 0 && grp.RootPart.Shape.State != 0 && (!objectsToDelete.Contains(grp))) | ||
5094 | // { | ||
5095 | // UUID agentID = grp.OwnerID; | ||
5096 | // if (agentID == UUID.Zero) | ||
5097 | // { | ||
5098 | // objectsToDelete.Add(grp); | ||
5099 | // return; | ||
5100 | // } | ||
5101 | // | ||
5102 | // ScenePresence sp = GetScenePresence(agentID); | ||
5103 | // if (sp == null) | ||
5104 | // { | ||
5105 | // objectsToDelete.Add(grp); | ||
5106 | // return; | ||
5107 | // } | ||
5108 | // } | ||
5109 | // }); | ||
5110 | // } | ||
5111 | // | ||
5112 | // foreach (SceneObjectGroup grp in objectsToDelete) | ||
5113 | // { | ||
5114 | // m_log.InfoFormat("[SCENE]: Deleting dropped attachment {0} of user {1}", grp.UUID, grp.OwnerID); | ||
5115 | // DeleteSceneObject(grp, true); | ||
5116 | // } | ||
5117 | // } | ||
5118 | |||
5119 | // This method is called across the simulation connector to | 5083 | // This method is called across the simulation connector to |
5120 | // determine if a given agent is allowed in this region | 5084 | // determine if a given agent is allowed in this region |
5121 | // AS A ROOT AGENT. Returning false here will prevent them | 5085 | // AS A ROOT AGENT. Returning false here will prevent them |