aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-01-11 18:41:06 +0000
committerUbitUmarov2017-01-11 18:41:06 +0000
commit386a8136c916a14c4d484da03bbfe86bf946ee1b (patch)
tree496705c81feff00e5b901fd2b7a90a45eeddd608 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentmore changes to GenerateClientFlags(), use already cached presence group info... (diff)
downloadopensim-SC-386a8136c916a14c4d484da03bbfe86bf946ee1b.zip
opensim-SC-386a8136c916a14c4d484da03bbfe86bf946ee1b.tar.gz
opensim-SC-386a8136c916a14c4d484da03bbfe86bf946ee1b.tar.bz2
opensim-SC-386a8136c916a14c4d484da03bbfe86bf946ee1b.tar.xz
don't let object lastowner be its group
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 5928764..bf991c6 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -2233,7 +2233,8 @@ namespace OpenSim.Region.Framework.Scenes
2233 { 2233 {
2234 if (part.OwnerID != userId) 2234 if (part.OwnerID != userId)
2235 { 2235 {
2236 part.LastOwnerID = part.OwnerID; 2236 if(part.GroupID != part.OwnerID)
2237 part.LastOwnerID = part.OwnerID;
2237 part.OwnerID = userId; 2238 part.OwnerID = userId;
2238 } 2239 }
2239 }); 2240 });