diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs index 2701d6e..36d46b8 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | |||
@@ -158,12 +158,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
158 | { | 158 | { |
159 | SceneObjectGroup sog = part.ParentGroup; | 159 | SceneObjectGroup sog = part.ParentGroup; |
160 | sog.SendPropertiesToClient(remoteClient); | 160 | sog.SendPropertiesToClient(remoteClient); |
161 | sog.IsSelected = true; | ||
162 | 161 | ||
163 | // A prim is only tainted if it's allowed to be edited by the person clicking it. | 162 | // A prim is only tainted if it's allowed to be edited by the person clicking it. |
164 | if (Permissions.CanEditObject(sog.UUID, remoteClient.AgentId) | 163 | if (Permissions.CanEditObject(sog.UUID, remoteClient.AgentId) |
165 | || Permissions.CanMoveObject(sog.UUID, remoteClient.AgentId)) | 164 | || Permissions.CanMoveObject(sog.UUID, remoteClient.AgentId)) |
166 | { | 165 | { |
166 | sog.IsSelected = true; | ||
167 | EventManager.TriggerParcelPrimCountTainted(); | 167 | EventManager.TriggerParcelPrimCountTainted(); |
168 | } | 168 | } |
169 | } | 169 | } |
@@ -235,7 +235,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
235 | // handled by group, but by prim. Legacy cruft. | 235 | // handled by group, but by prim. Legacy cruft. |
236 | // TODO: Make selection flagging per prim! | 236 | // TODO: Make selection flagging per prim! |
237 | // | 237 | // |
238 | part.ParentGroup.IsSelected = false; | 238 | if (Permissions.CanEditObject(part.ParentGroup.UUID, remoteClient.AgentId) |
239 | || Permissions.CanMoveObject(part.ParentGroup.UUID, remoteClient.AgentId)) | ||
240 | part.ParentGroup.IsSelected = false; | ||
239 | 241 | ||
240 | if (part.ParentGroup.IsAttachment) | 242 | if (part.ParentGroup.IsAttachment) |
241 | isAttachment = true; | 243 | isAttachment = true; |