diff options
author | UbitUmarov | 2017-01-16 20:27:39 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-16 20:27:39 +0000 |
commit | 180add745cea4a7e076afd1cfe1c922df1bf7e0b (patch) | |
tree | da9d65ee4918e3cd43acd19c99eb26e3afb764e3 /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | fix EffectiveGroupOrEveryOnePerms C&T == 0 case (diff) | |
download | opensim-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 '')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 2f65ce2..602ac4b 100755 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -2103,8 +2103,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2103 | 2103 | ||
2104 | if (original.OwnerID != AgentID) | 2104 | if (original.OwnerID != AgentID) |
2105 | { | 2105 | { |
2106 | copy.SetOwnerId(AgentID); | 2106 | copy.SetOwner(AgentID, GroupID); |
2107 | copy.SetRootPartOwner(copy.RootPart, AgentID, GroupID); | ||
2108 | 2107 | ||
2109 | SceneObjectPart[] partList = copy.Parts; | 2108 | SceneObjectPart[] partList = copy.Parts; |
2110 | 2109 | ||