aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2012-03-15 10:55:44 +0000
committerMelanie2012-03-15 10:55:44 +0000
commit897dc5e77eff911f9dd8870535c442f632d17662 (patch)
tree4bd4606e27f4c346f0267f6fc03c4541a2dc7046 /OpenSim/Region/Framework/Scenes/Scene.cs
parentAllow llTeleportAgent to teleport gods when not in god mode (diff)
parentRemove property/field duplication in ScriptInstance where it's unnecessary. (diff)
downloadopensim-SC-897dc5e77eff911f9dd8870535c442f632d17662.zip
opensim-SC-897dc5e77eff911f9dd8870535c442f632d17662.tar.gz
opensim-SC-897dc5e77eff911f9dd8870535c442f632d17662.tar.bz2
opensim-SC-897dc5e77eff911f9dd8870535c442f632d17662.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs11
1 files changed, 1 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index a3358a5..de1517b 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -227,8 +227,6 @@ namespace OpenSim.Region.Framework.Scenes
227 private bool m_firstHeartbeat = true; 227 private bool m_firstHeartbeat = true;
228 private int m_hbRestarts = 0; 228 private int m_hbRestarts = 0;
229 229
230 private object m_deleting_scene_object = new object();
231
232 private UpdatePrioritizationSchemes m_priorityScheme = UpdatePrioritizationSchemes.Time; 230 private UpdatePrioritizationSchemes m_priorityScheme = UpdatePrioritizationSchemes.Time;
233 private bool m_reprioritizationEnabled = true; 231 private bool m_reprioritizationEnabled = true;
234 private double m_reprioritizationInterval = 5000.0; 232 private double m_reprioritizationInterval = 5000.0;
@@ -2085,15 +2083,8 @@ namespace OpenSim.Region.Framework.Scenes
2085 public void DeleteSceneObject(SceneObjectGroup group, bool silent) 2083 public void DeleteSceneObject(SceneObjectGroup group, bool silent)
2086 { 2084 {
2087// m_log.DebugFormat("[SCENE]: Deleting scene object {0} {1}", group.Name, group.UUID); 2085// m_log.DebugFormat("[SCENE]: Deleting scene object {0} {1}", group.Name, group.UUID);
2088
2089 //SceneObjectPart rootPart = group.GetChildPart(group.UUID);
2090 2086
2091 // Serialise calls to RemoveScriptInstances to avoid 2087 group.RemoveScriptInstances(true);
2092 // deadlocking on m_parts inside SceneObjectGroup
2093 lock (m_deleting_scene_object)
2094 {
2095 group.RemoveScriptInstances(true);
2096 }
2097 2088
2098 SceneObjectPart[] partList = group.Parts; 2089 SceneObjectPart[] partList = group.Parts;
2099 2090