diff options
author | Melanie Thielker | 2010-07-16 20:23:41 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-07-16 20:23:41 +0200 |
commit | 2e5f200b3b571575c6fefe58d2a4a37bf0745303 (patch) | |
tree | 681f0ad0e1abc920747a5eb3b6d04f8613db3360 | |
parent | prevent hacked viewers from being able to delete arbitrary items from any (diff) | |
download | opensim-SC_OLD-2e5f200b3b571575c6fefe58d2a4a37bf0745303.zip opensim-SC_OLD-2e5f200b3b571575c6fefe58d2a4a37bf0745303.tar.gz opensim-SC_OLD-2e5f200b3b571575c6fefe58d2a4a37bf0745303.tar.bz2 opensim-SC_OLD-2e5f200b3b571575c6fefe58d2a4a37bf0745303.tar.xz |
Fix showing CreateSelected on all parts of a rez
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 1bf3a66..c300250 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -529,7 +529,11 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
529 | // find small items. | 529 | // find small items. |
530 | // | 530 | // |
531 | if (!attachment) | 531 | if (!attachment) |
532 | { | ||
532 | group.RootPart.CreateSelected = true; | 533 | group.RootPart.CreateSelected = true; |
534 | foreach (SceneObjectPart child in group.Children.Values) | ||
535 | child.CreateSelected = true; | ||
536 | } | ||
533 | 537 | ||
534 | if (!m_Scene.Permissions.CanRezObject( | 538 | if (!m_Scene.Permissions.CanRezObject( |
535 | group.Children.Count, remoteClient.AgentId, pos) | 539 | group.Children.Count, remoteClient.AgentId, pos) |