diff options
author | AliciaRaven | 2014-09-27 14:51:22 +0100 |
---|---|---|
committer | BlueWall | 2014-09-27 12:54:00 -0400 |
commit | f0218258d14154582db91651556f45ca261efda7 (patch) | |
tree | 3a4406e14f981b81d9eb6614c0acdfd98af5a4e8 | |
parent | Move expired objects cleaning trigger to the maintenance thread of a region r... (diff) | |
download | opensim-SC-f0218258d14154582db91651556f45ca261efda7.zip opensim-SC-f0218258d14154582db91651556f45ca261efda7.tar.gz opensim-SC-f0218258d14154582db91651556f45ca261efda7.tar.bz2 opensim-SC-f0218258d14154582db91651556f45ca261efda7.tar.xz |
When a prim is bought through BuySellModule, the click action is not changed back from buy object. This means that after the object is bought, it still appears as if for sale which can be confusing. This sets it back to touch, the default after sale.
Signed-off-by: BlueWall <jamesh@bluewallgroup.com>
-rw-r--r-- | OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs index b8d4855..2abc910 100644 --- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | |||
@@ -141,6 +141,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell | |||
141 | 141 | ||
142 | part.ObjectSaleType = 0; | 142 | part.ObjectSaleType = 0; |
143 | part.SalePrice = 10; | 143 | part.SalePrice = 10; |
144 | part.ClickAction = Convert.ToByte(0); | ||
144 | 145 | ||
145 | group.HasGroupChanged = true; | 146 | group.HasGroupChanged = true; |
146 | part.SendPropertiesToClient(remoteClient); | 147 | part.SendPropertiesToClient(remoteClient); |