diff options
author | Melanie Thielker | 2008-08-24 06:39:54 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-08-24 06:39:54 +0000 |
commit | 07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a (patch) | |
tree | 36b1f950b1347ef559ce2266c0856d54eb280768 /OpenSim/Region/Environment/Scenes/InnerScene.cs | |
parent | Plumb the data path for all those eye candy values. Saves texture (diff) | |
download | opensim-SC_OLD-07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a.zip opensim-SC_OLD-07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a.tar.gz opensim-SC_OLD-07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a.tar.bz2 opensim-SC_OLD-07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a.tar.xz |
Selling an object in-place (as original) now works. Builders can
now ply their trade. Is that nuts?
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 5 |
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 | } |