From e33c2f0d7c02abf1e39de1b23141bddc96baae4c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 25 Aug 2016 06:32:04 +0100 Subject: [PATCH] fix missing PhysicsProprieties sending on Object select. This is a temporary Fix, entire Object select code needs to be changed --- .../Framework/Scenes/Scene.PacketHandlers.cs | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs index fc90d6066e..1aa8087c92 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 /// public void SelectPrim(uint primLocalID, IClientAPI remoteClient) { - /* - SceneObjectPart part = GetSceneObjectPart(primLocalID); - - if (null == part) - return; - - if (part.IsRoot) - { - SceneObjectGroup sog = part.ParentGroup; - sog.SendPropertiesToClient(remoteClient); - - // A prim is only tainted if it's allowed to be edited by the person clicking it. - if (Permissions.CanEditObject(sog.UUID, remoteClient.AgentId) - || Permissions.CanMoveObject(sog.UUID, remoteClient.AgentId)) - { - sog.IsSelected = true; - EventManager.TriggerParcelPrimCountTainted(); - } - } - else - { - part.SendPropertiesToClient(remoteClient); - } - */ SceneObjectPart part = GetSceneObjectPart(primLocalID); if (null == part) @@ -200,6 +176,7 @@ namespace OpenSim.Region.Framework.Scenes return; part.SendPropertiesToClient(remoteClient); + remoteClient.SendPartPhysicsProprieties(part); // waste of time because properties do not send prim flags as they should // if a friend got or lost edit rights after login, a full update is needed