aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2015-01-16 23:59:08 +0000
committerJustin Clark-Casey (justincc)2015-01-16 23:59:08 +0000
commit0eb268e265ded57576c33a0b9a2cf33a48e19a3a (patch)
tree3ba3247d5f576e60bf5675e7bf63e4ca4c918b84
parentAdd clearqueue code adjustment that should have been in previous commit faaf47a (diff)
downloadopensim-SC-0eb268e265ded57576c33a0b9a2cf33a48e19a3a.zip
opensim-SC-0eb268e265ded57576c33a0b9a2cf33a48e19a3a.tar.gz
opensim-SC-0eb268e265ded57576c33a0b9a2cf33a48e19a3a.tar.bz2
opensim-SC-0eb268e265ded57576c33a0b9a2cf33a48e19a3a.tar.xz
minor: remove old commented out objectRemoved bool in XEngine.OnRemoveScript()
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/XEngine.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
index 83751cf..a04a554 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
@@ -1442,8 +1442,6 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1442 1442
1443 instance.Stop(m_WaitForEventCompletionOnScriptStop, true); 1443 instance.Stop(m_WaitForEventCompletionOnScriptStop, true);
1444 1444
1445// bool objectRemoved = false;
1446
1447 lock (m_PrimObjects) 1445 lock (m_PrimObjects)
1448 { 1446 {
1449 // Remove the script from it's prim 1447 // Remove the script from it's prim
@@ -1455,10 +1453,7 @@ namespace OpenSim.Region.ScriptEngine.XEngine
1455 1453
1456 // If there are no more scripts, remove prim 1454 // If there are no more scripts, remove prim
1457 if (m_PrimObjects[localID].Count == 0) 1455 if (m_PrimObjects[localID].Count == 0)
1458 {
1459 m_PrimObjects.Remove(localID); 1456 m_PrimObjects.Remove(localID);
1460// objectRemoved = true;
1461 }
1462 } 1457 }
1463 } 1458 }
1464 1459