From d53703362e5ad91411e8ce42d3966063284ba2c3 Mon Sep 17 00:00:00 2001 From: AliciaRaven Date: Sat, 27 Sep 2014 14:51:22 +0100 Subject: [PATCH] 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 --- .../Region/CoreModules/World/Objects/BuySell/BuySellModule.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs index b8d4855cb1..2abc9100fe 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 part.ObjectSaleType = 0; part.SalePrice = 10; + part.ClickAction = Convert.ToByte(0); group.HasGroupChanged = true; part.SendPropertiesToClient(remoteClient);