aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Objects
diff options
context:
space:
mode:
authorUbitUmarov2017-01-16 20:27:39 +0000
committerUbitUmarov2017-01-16 20:27:39 +0000
commit180add745cea4a7e076afd1cfe1c922df1bf7e0b (patch)
treeda9d65ee4918e3cd43acd19c99eb26e3afb764e3 /OpenSim/Region/CoreModules/World/Objects
parent fix EffectiveGroupOrEveryOnePerms C&T == 0 case (diff)
downloadopensim-SC-180add745cea4a7e076afd1cfe1c922df1bf7e0b.zip
opensim-SC-180add745cea4a7e076afd1cfe1c922df1bf7e0b.tar.gz
opensim-SC-180add745cea4a7e076afd1cfe1c922df1bf7e0b.tar.bz2
opensim-SC-180add745cea4a7e076afd1cfe1c922df1bf7e0b.tar.xz
replace calls to SetOwnerId and SetRootPartOwner by a single new SetOwner() so owner is not changed twice on rootpart
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects')
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
index 2837358..2a7bfb0 100644
--- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
@@ -136,8 +136,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
136 return false; 136 return false;
137 } 137 }
138 138
139 group.SetOwnerId(remoteClient.AgentId); 139 group.SetOwner(remoteClient.AgentId, remoteClient.ActiveGroupId);
140 group.SetRootPartOwner(part, remoteClient.AgentId, remoteClient.ActiveGroupId);
141 140
142 if (m_scene.Permissions.PropagatePermissions()) 141 if (m_scene.Permissions.PropagatePermissions())
143 { 142 {