aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index b98f2d6..3fa1825d 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -1312,6 +1312,11 @@ namespace OpenSim.Region.Environment.Scenes
1312 { 1312 {
1313 if (((SceneObjectGroup)ent).LocalId == childPrims[i]) 1313 if (((SceneObjectGroup)ent).LocalId == childPrims[i])
1314 { 1314 {
1315 // Make sure no child prim is set for sale
1316 // So that, on delink, no prims are unwittingly
1317 // left for sale and sold off
1318 ((SceneObjectGroup)ent).RootPart.ObjectSaleType = 0;
1319 ((SceneObjectGroup)ent).RootPart.SalePrice = 10;
1315 children.Add((SceneObjectGroup)ent); 1320 children.Add((SceneObjectGroup)ent);
1316 } 1321 }
1317 } 1322 }