diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index dc5f869..e226196 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2123,11 +2123,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
2123 | 2123 | ||
2124 | public void SetOwnerId(UUID userId) | 2124 | public void SetOwnerId(UUID userId) |
2125 | { | 2125 | { |
2126 | ForEachPart(delegate(SceneObjectPart part) | 2126 | ForEachPart(delegate(SceneObjectPart part) |
2127 | { | 2127 | { |
2128 | part.LastOwnerID = part.OwnerID; | 2128 | if (OwnerID != userId) |
2129 | part.OwnerID = userId; | 2129 | { |
2130 | 2130 | part.LastOwnerID = part.OwnerID; | |
2131 | part.OwnerID = userId; | ||
2132 | } | ||
2131 | }); | 2133 | }); |
2132 | } | 2134 | } |
2133 | 2135 | ||