mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
add more test code to make usage od compressed updates etc. Should be disable, but well many things can go wrong.
This commit is contained in:
@@ -153,10 +153,23 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
/// <param name="remoteClient"></param>
|
||||
public void RequestPrim(uint primLocalID, IClientAPI remoteClient)
|
||||
{
|
||||
SceneObjectGroup sog = GetGroupByPrim(primLocalID);
|
||||
SceneObjectPart part = GetSceneObjectPart(primLocalID);
|
||||
if (part != null)
|
||||
{
|
||||
SceneObjectGroup sog = part.ParentGroup;
|
||||
if(!sog.IsDeleted)
|
||||
{
|
||||
PrimUpdateFlags update = PrimUpdateFlags.FullUpdate;
|
||||
if (sog.RootPart.Shape.MeshFlagEntry)
|
||||
update = PrimUpdateFlags.FullUpdatewithAnim;
|
||||
part.SendUpdate(remoteClient, update);
|
||||
}
|
||||
}
|
||||
|
||||
if (sog != null)
|
||||
sog.SendFullAnimUpdateToClient(remoteClient);
|
||||
//SceneObjectGroup sog = GetGroupByPrim(primLocalID);
|
||||
|
||||
//if (sog != null)
|
||||
//sog.SendFullAnimUpdateToClient(remoteClient);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user