aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authormingchen2008-06-07 00:24:43 +0000
committermingchen2008-06-07 00:24:43 +0000
commit5ab5991676d09d3e510ea78043d0034cdc36f4bf (patch)
treebb24edfff63b86657b1d72e2838a3878fd192467 /OpenSim/Region/Environment/Scenes/Scene.cs
parent*Made Object Counting correct with linked objects and turned the previously p... (diff)
downloadopensim-SC_OLD-5ab5991676d09d3e510ea78043d0034cdc36f4bf.zip
opensim-SC_OLD-5ab5991676d09d3e510ea78043d0034cdc36f4bf.tar.gz
opensim-SC_OLD-5ab5991676d09d3e510ea78043d0034cdc36f4bf.tar.bz2
opensim-SC_OLD-5ab5991676d09d3e510ea78043d0034cdc36f4bf.tar.xz
*Fixing another object counting bug
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 7d076ef..8094e4c 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1386,7 +1386,7 @@ namespace OpenSim.Region.Environment.Scenes
1386 rootPart.PhysActor = null; 1386 rootPart.PhysActor = null;
1387 } 1387 }
1388 1388
1389 if (UnlinkSceneObject(group.UUID)) 1389 if (UnlinkSceneObject(group.UUID, false))
1390 { 1390 {
1391 EventManager.TriggerObjectBeingRemovedFromScene(group); 1391 EventManager.TriggerObjectBeingRemovedFromScene(group);
1392 EventManager.TriggerParcelPrimCountTainted(); 1392 EventManager.TriggerParcelPrimCountTainted();
@@ -1410,9 +1410,9 @@ namespace OpenSim.Region.Environment.Scenes
1410 /// </summary> 1410 /// </summary>
1411 /// <param name="uuid"></param> 1411 /// <param name="uuid"></param>
1412 /// <returns>true if the object was in the scene, false if it was not</returns> 1412 /// <returns>true if the object was in the scene, false if it was not</returns>
1413 public bool UnlinkSceneObject(LLUUID uuid) 1413 public bool UnlinkSceneObject(LLUUID uuid, bool resultOfLinkingObjects)
1414 { 1414 {
1415 if (m_innerScene.DeleteSceneObject(uuid,true)) 1415 if (m_innerScene.DeleteSceneObject(uuid,resultOfLinkingObjects))
1416 { 1416 {
1417 m_storageManager.DataStore.RemoveObject(uuid, m_regInfo.RegionID); 1417 m_storageManager.DataStore.RemoveObject(uuid, m_regInfo.RegionID);
1418 1418