diff options
author | UbitUmarov | 2017-01-16 19:22:39 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-16 19:22:39 +0000 |
commit | ffa6c7aae2266708884ec16d75d7b8b5bae638e5 (patch) | |
tree | c109bdaddb55e65941553562a6e274ce93bd9536 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | chance new effective permissions code to ease aggregation on demand( ie on c... (diff) | |
download | opensim-SC_OLD-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.zip opensim-SC_OLD-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.tar.gz opensim-SC_OLD-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.tar.bz2 opensim-SC_OLD-ffa6c7aae2266708884ec16d75d7b8b5bae638e5.tar.xz |
avoid lastOwner beeing the group
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 3f531be..4d1e564 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2751,7 +2751,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2751 | /// <param name="cGroupID"></param> | 2751 | /// <param name="cGroupID"></param> |
2752 | public void SetRootPartOwner(SceneObjectPart part, UUID cAgentID, UUID cGroupID) | 2752 | public void SetRootPartOwner(SceneObjectPart part, UUID cAgentID, UUID cGroupID) |
2753 | { | 2753 | { |
2754 | part.LastOwnerID = part.OwnerID; | 2754 | if(part.GroupID != part.OwnerID && cGroupID != part.OwnerID) |
2755 | part.LastOwnerID = part.OwnerID; | ||
2755 | part.OwnerID = cAgentID; | 2756 | part.OwnerID = cAgentID; |
2756 | part.GroupID = cGroupID; | 2757 | part.GroupID = cGroupID; |
2757 | 2758 | ||