aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs25
1 files changed, 1 insertions, 24 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
index fc90d60..1aa8087 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
@@ -166,30 +166,6 @@ namespace OpenSim.Region.Framework.Scenes
166 /// <param name="remoteClient"></param> 166 /// <param name="remoteClient"></param>
167 public void SelectPrim(uint primLocalID, IClientAPI remoteClient) 167 public void SelectPrim(uint primLocalID, IClientAPI remoteClient)
168 { 168 {
169 /*
170 SceneObjectPart part = GetSceneObjectPart(primLocalID);
171
172 if (null == part)
173 return;
174
175 if (part.IsRoot)
176 {
177 SceneObjectGroup sog = part.ParentGroup;
178 sog.SendPropertiesToClient(remoteClient);
179
180 // A prim is only tainted if it's allowed to be edited by the person clicking it.
181 if (Permissions.CanEditObject(sog.UUID, remoteClient.AgentId)
182 || Permissions.CanMoveObject(sog.UUID, remoteClient.AgentId))
183 {
184 sog.IsSelected = true;
185 EventManager.TriggerParcelPrimCountTainted();
186 }
187 }
188 else
189 {
190 part.SendPropertiesToClient(remoteClient);
191 }
192 */
193 SceneObjectPart part = GetSceneObjectPart(primLocalID); 169 SceneObjectPart part = GetSceneObjectPart(primLocalID);
194 170
195 if (null == part) 171 if (null == part)
@@ -200,6 +176,7 @@ namespace OpenSim.Region.Framework.Scenes
200 return; 176 return;
201 177
202 part.SendPropertiesToClient(remoteClient); 178 part.SendPropertiesToClient(remoteClient);
179 remoteClient.SendPartPhysicsProprieties(part);
203 180
204 // waste of time because properties do not send prim flags as they should 181 // waste of time because properties do not send prim flags as they should
205 // if a friend got or lost edit rights after login, a full update is needed 182 // if a friend got or lost edit rights after login, a full update is needed