From 5972e934494c217bd7a3c01d8473db4ae674279c Mon Sep 17 00:00:00 2001 From: mingchen Date: Tue, 13 May 2008 17:39:21 +0000 Subject: *Objects now delete correctly --- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index cbb3a7d..49d229d 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -1054,11 +1054,12 @@ namespace OpenSim.Region.Environment.Scenes userInfo.AddItem(item); remoteClient.SendInventoryItemCreateUpdate(item); } + } - if (permissionToDelete) - { - DeleteSceneObjectGroup(objectGroup); - } + + if (permissionToDelete) + { + DeleteSceneObjectGroup(objectGroup); } } } -- cgit v1.1