aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-08-24 06:39:54 +0000
committerMelanie Thielker2008-08-24 06:39:54 +0000
commit07cb1d4f0e9acfaba22b9b8ef1611613ab827a1a (patch)
tree36b1f950b1347ef559ce2266c0856d54eb280768 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
parentPlumb the data path for all those eye candy values. Saves texture (diff)
downloadopensim-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 '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 8382467..ffb8501 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -1985,6 +1985,10 @@ namespace OpenSim.Region.Environment.Scenes
1985 1985
1986 if (rootPart.OwnerID != item.Owner) 1986 if (rootPart.OwnerID != item.Owner)
1987 { 1987 {
1988 //Need to kill the for sale here
1989 rootPart.ObjectSaleType = 0;
1990 rootPart.SalePrice = 10;
1991
1988 if (ExternalChecks.ExternalChecksPropagatePermissions()) 1992 if (ExternalChecks.ExternalChecksPropagatePermissions())
1989 { 1993 {
1990 if ((item.CurrentPermissions & 8) != 0) 1994 if ((item.CurrentPermissions & 8) != 0)