diff options
author | Melanie | 2010-09-27 02:11:55 +0100 |
---|---|---|
committer | Melanie | 2010-09-27 02:11:55 +0100 |
commit | 8e547d349178a5084ec4c607794652a24a9f3bf6 (patch) | |
tree | 8749a4b902dd9fe1482f81142656caf9b75906a8 /OpenSim/Region/Framework | |
parent | Fix build break (diff) | |
download | opensim-SC-8e547d349178a5084ec4c607794652a24a9f3bf6.zip opensim-SC-8e547d349178a5084ec4c607794652a24a9f3bf6.tar.gz opensim-SC-8e547d349178a5084ec4c607794652a24a9f3bf6.tar.bz2 opensim-SC-8e547d349178a5084ec4c607794652a24a9f3bf6.tar.xz |
Prevent setting arbitrary groups on your objects.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 28b80bb..a79dc98 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -544,6 +544,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
544 | protected internal void HandleObjectGroupUpdate( | 544 | protected internal void HandleObjectGroupUpdate( |
545 | IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage) | 545 | IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage) |
546 | { | 546 | { |
547 | if (!remoteClient.IsGroupMember(GroupID)) | ||
548 | return; | ||
549 | |||
547 | SceneObjectGroup group = GetGroupByPrim(objectLocalID); | 550 | SceneObjectGroup group = GetGroupByPrim(objectLocalID); |
548 | if (group != null) | 551 | if (group != null) |
549 | { | 552 | { |