aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2016-08-25 06:32:04 +0100
committerUbitUmarov2016-08-25 06:32:04 +0100
commite33c2f0d7c02abf1e39de1b23141bddc96baae4c (patch)
tree63a91e611eef6b826a0dc114473c87d7c474094d /OpenSim/Region
parent put back the console comand i remove since it is not a repetion (diff)
downloadopensim-SC_OLD-e33c2f0d7c02abf1e39de1b23141bddc96baae4c.zip
opensim-SC_OLD-e33c2f0d7c02abf1e39de1b23141bddc96baae4c.tar.gz
opensim-SC_OLD-e33c2f0d7c02abf1e39de1b23141bddc96baae4c.tar.bz2
opensim-SC_OLD-e33c2f0d7c02abf1e39de1b23141bddc96baae4c.tar.xz
fix missing PhysicsProprieties sending on Object select. This is a temporary Fix, entire Object select code needs to be changed
Diffstat (limited to 'OpenSim/Region')
-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