/// <summary> /// Invoked when the client requests a prim. /// </summary> /// <param name="primLocalID"></param> /// <param name="remoteClient"></param> public void RequestPrim(uint primLocalID, IClientAPI remoteClient) { SceneObjectGroup sog = GetGroupByPrim(primLocalID); if (sog != null) { sog.SendFullUpdateToClient(remoteClient); } }
/// <summary> /// Invoked when the client requests a prim. /// </summary> /// <param name="primLocalID"></param> /// <param name="remoteClient"></param> public void RequestPrim(uint primLocalID, IClientAPI remoteClient) { SceneObjectGroup obj = this.GetGroupByPrim(primLocalID); if (obj != null) { obj.SendFullUpdateToClient(remoteClient); } return; }
/// <summary> /// Invoked when the client requests a prim. /// </summary> /// <param name="primLocalID"></param> /// <param name="remoteClient"></param> public void RequestPrim(uint primLocalID, IClientAPI remoteClient) { SceneObjectGroup obj = this.GetGroupByPrim(primLocalID); if (obj != null) { //The viewer didn't have the cached prim like we thought - force a full update // so that they will get the full prim obj.SendFullUpdateToClient(remoteClient, PrimUpdateFlags.ForcedFullUpdate); } return; }