aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 50d0a72..0f96cf2 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1880,7 +1880,9 @@ namespace OpenSim.Region.Environment.Scenes
1880 { 1880 {
1881 if (m_innerScene.DeleteSceneObject(uuid, resultOfLinkingObjects)) 1881 if (m_innerScene.DeleteSceneObject(uuid, resultOfLinkingObjects))
1882 { 1882 {
1883 m_storageManager.DataStore.RemoveObject(uuid, m_regInfo.RegionID); 1883 if (!resultOfLinkingObjects)
1884 m_storageManager.DataStore.RemoveObject(uuid,
1885 m_regInfo.RegionID);
1884 return true; 1886 return true;
1885 } 1887 }
1886 1888