diff options
author | Justin Clark-Casey (justincc) | 2011-09-13 18:11:13 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-13 18:11:13 +0100 |
commit | df73833a2c79a1a60536e386b5884581d9f2f4b3 (patch) | |
tree | 4f53164d324f1e9986a9a581976ad456ce553a9a /OpenSim/Region/Framework/Scenes/Tests | |
parent | extend TestGetSceneObjectByPartLocalId() to test state after scene object del... (diff) | |
download | opensim-SC_OLD-df73833a2c79a1a60536e386b5884581d9f2f4b3.zip opensim-SC_OLD-df73833a2c79a1a60536e386b5884581d9f2f4b3.tar.gz opensim-SC_OLD-df73833a2c79a1a60536e386b5884581d9f2f4b3.tar.bz2 opensim-SC_OLD-df73833a2c79a1a60536e386b5884581d9f2f4b3.tar.xz |
stop the duplicate remove of the root part ids from the full part and local part indexes in SG.DeleteSceneObject()
this is unnecessary because the parts array iterated through contains the root part as well as the non-root parts
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs index 9586877..80f198d 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | |||
@@ -135,7 +135,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
135 | 135 | ||
136 | // Now delete the scene object and check again | 136 | // Now delete the scene object and check again |
137 | scene.DeleteSceneObject(so, false); | 137 | scene.DeleteSceneObject(so, false); |
138 | 138 | ||
139 | Assert.That(scene.GetGroupByPrim(so.LocalId), Is.Null); | 139 | Assert.That(scene.GetGroupByPrim(so.LocalId), Is.Null); |
140 | Assert.That(scene.GetGroupByPrim(parts[partsToTestCount - 1].LocalId), Is.Null); | 140 | Assert.That(scene.GetGroupByPrim(parts[partsToTestCount - 1].LocalId), Is.Null); |
141 | } | 141 | } |