aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs')
-rw-r--r--OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs19
1 files changed, 0 insertions, 19 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
index 3980c18..5be70bc 100644
--- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
+++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
@@ -505,24 +505,5 @@ namespace OpenSim.Tests.Common.Setup
505 505
506 return part; 506 return part;
507 } 507 }
508
509 /// <summary>
510 /// Delete a scene object asynchronously
511 /// </summary>
512 /// <param name="scene"></param>
513 /// <param name="part"></param>
514 /// <param name="action"></param>
515 /// <param name="destinationId"></param>
516 /// <param name="client"></param>
517 public static void DeleteSceneObjectAsync(
518 TestScene scene, SceneObjectPart part, DeRezAction action, UUID destinationId, IClientAPI client)
519 {
520 // Turn off the timer on the async sog deleter - we'll crank it by hand within a unit test
521 AsyncSceneObjectGroupDeleter sogd = scene.SceneObjectGroupDeleter;
522 sogd.Enabled = false;
523
524 scene.DeRezObjects(client, new List<uint>() { part.LocalId }, UUID.Zero, action, destinationId);
525 sogd.InventoryDeQueueAndDelete();
526 }
527 } 508 }
528} 509}