diff options
author | Melanie | 2010-09-27 02:11:55 +0100 |
---|---|---|
committer | Melanie | 2010-09-27 02:13:22 +0100 |
commit | 41051b3cc68f1b7cf92538bd2affbf4c838f1a1d (patch) | |
tree | a4f26b43287301115c6a211dd12fe7706ae7c8cd /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-41051b3cc68f1b7cf92538bd2affbf4c838f1a1d.zip opensim-SC-41051b3cc68f1b7cf92538bd2affbf4c838f1a1d.tar.gz opensim-SC-41051b3cc68f1b7cf92538bd2affbf4c838f1a1d.tar.bz2 opensim-SC-41051b3cc68f1b7cf92538bd2affbf4c838f1a1d.tar.xz |
Prevent setting arbitrary groups on your objects.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-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 5ef14bf..b61aed5 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -590,6 +590,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
590 | protected internal void HandleObjectGroupUpdate( | 590 | protected internal void HandleObjectGroupUpdate( |
591 | IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage) | 591 | IClientAPI remoteClient, UUID GroupID, uint objectLocalID, UUID Garbage) |
592 | { | 592 | { |
593 | if (!remoteClient.IsGroupMember(GroupID)) | ||
594 | return; | ||
595 | |||
593 | SceneObjectGroup group = GetGroupByPrim(objectLocalID); | 596 | SceneObjectGroup group = GetGroupByPrim(objectLocalID); |
594 | if (group != null) | 597 | if (group != null) |
595 | { | 598 | { |