aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-17 21:44:09 +0000
committerMelanie Thielker2008-11-17 21:44:09 +0000
commita8e40bed52d9db6d099843ffb796cae266064c14 (patch)
tree58cdf119d8b13bed007051333937b4f2ab4bf999 /OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
parent* Remove Appdomain code in XEngine.cs (diff)
downloadopensim-SC_OLD-a8e40bed52d9db6d099843ffb796cae266064c14.zip
opensim-SC_OLD-a8e40bed52d9db6d099843ffb796cae266064c14.tar.gz
opensim-SC_OLD-a8e40bed52d9db6d099843ffb796cae266064c14.tar.bz2
opensim-SC_OLD-a8e40bed52d9db6d099843ffb796cae266064c14.tar.xz
Set group on newly rezzed objects to the rezzer's (or rezzing object's)
group
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 0c217dd..e46b13c 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -2031,6 +2031,7 @@ namespace OpenSim.Region.Environment.Scenes
2031 2031
2032 List<SceneObjectPart> partList = new List<SceneObjectPart>(group.Children.Values); 2032 List<SceneObjectPart> partList = new List<SceneObjectPart>(group.Children.Values);
2033 2033
2034 group.SetGroup(remoteClient.ActiveGroupId, remoteClient);
2034 if (rootPart.OwnerID != item.Owner) 2035 if (rootPart.OwnerID != item.Owner)
2035 { 2036 {
2036 //Need to kill the for sale here 2037 //Need to kill the for sale here
@@ -2148,6 +2149,8 @@ namespace OpenSim.Region.Environment.Scenes
2148 2149
2149 List<SceneObjectPart> partList = new List<SceneObjectPart>(group.Children.Values); 2150 List<SceneObjectPart> partList = new List<SceneObjectPart>(group.Children.Values);
2150 2151
2152 group.SetGroup(sourcePart.GroupID, null);
2153
2151 if (rootPart.OwnerID != item.OwnerID) 2154 if (rootPart.OwnerID != item.OwnerID)
2152 { 2155 {
2153 if (ExternalChecks.ExternalChecksPropagatePermissions()) 2156 if (ExternalChecks.ExternalChecksPropagatePermissions())