aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-03-23 02:18:32 +0000
committerUbitUmarov2019-03-23 02:18:32 +0000
commitd0052c817486a1691fc4e2e7027ac41240b966aa (patch)
tree2308b3c6c3bd9dd6da9b18d7cca806cec05341b1 /OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
parentoops send flag PrimFlags.InventoryEmpty but do not override others (diff)
downloadopensim-SC-d0052c817486a1691fc4e2e7027ac41240b966aa.zip
opensim-SC-d0052c817486a1691fc4e2e7027ac41240b966aa.tar.gz
opensim-SC-d0052c817486a1691fc4e2e7027ac41240b966aa.tar.bz2
opensim-SC-d0052c817486a1691fc4e2e7027ac41240b966aa.tar.xz
add more test code to make usage od compressed updates etc. Should be disable, but well many things can go wrong.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs19
1 files changed, 16 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
index 0c080d2..2995091 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs
@@ -153,10 +153,23 @@ namespace OpenSim.Region.Framework.Scenes
153 /// <param name="remoteClient"></param> 153 /// <param name="remoteClient"></param>
154 public void RequestPrim(uint primLocalID, IClientAPI remoteClient) 154 public void RequestPrim(uint primLocalID, IClientAPI remoteClient)
155 { 155 {
156 SceneObjectGroup sog = GetGroupByPrim(primLocalID); 156 SceneObjectPart part = GetSceneObjectPart(primLocalID);
157 if (part != null)
158 {
159 SceneObjectGroup sog = part.ParentGroup;
160 if(!sog.IsDeleted)
161 {
162 PrimUpdateFlags update = PrimUpdateFlags.FullUpdate;
163 if (sog.RootPart.Shape.MeshFlagEntry)
164 update = PrimUpdateFlags.FullUpdatewithAnim;
165 part.SendUpdate(remoteClient, update);
166 }
167 }
168
169 //SceneObjectGroup sog = GetGroupByPrim(primLocalID);
157 170
158 if (sog != null) 171 //if (sog != null)
159 sog.SendFullAnimUpdateToClient(remoteClient); 172 //sog.SendFullAnimUpdateToClient(remoteClient);
160 } 173 }
161 174
162 /// <summary> 175 /// <summary>