From f61e54892f2284b6f89bacf3069467c05b2eea11 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 8 Dec 2011 18:34:23 +0000
Subject: On a new client circuit, send the initial reply ack to let the client
know it's live before sending other data.
This means that avatar/appearance data of other avatars and scene objects for a client will be sent after the ack rather than possibly before.
This may stop some avatars appearing grey on login.
This introduces a new OpenSim.Framework.ISceneAgent to accompany the existing OpenSim.Framework.ISceneObject and ISceneEntity
This allows IClientAPI to handle this as it can't reference OpenSim.Region.Framework.Interfaces
---
.../Region/Framework/Interfaces/IScenePresence.cs | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
(limited to 'OpenSim/Region/Framework/Interfaces')
diff --git a/OpenSim/Region/Framework/Interfaces/IScenePresence.cs b/OpenSim/Region/Framework/Interfaces/IScenePresence.cs
index ff39283..5e43843 100644
--- a/OpenSim/Region/Framework/Interfaces/IScenePresence.cs
+++ b/OpenSim/Region/Framework/Interfaces/IScenePresence.cs
@@ -38,28 +38,8 @@ namespace OpenSim.Region.Framework.Interfaces
///
/// Interface is a work in progress. Please feel free to add other required properties and methods.
///
- public interface IScenePresence : ISceneEntity
+ public interface IScenePresence : ISceneAgent
{
- ///
- /// The client controlling this presence
- ///
- IClientAPI ControllingClient { get; }
-
- ///
- /// What type of presence is this? User, NPC, etc.
- ///
- PresenceType PresenceType { get; }
-
- ///
- /// Avatar appearance data.
- ///
- ///
- // Because appearance setting is in a module, we actually need
- // to give it access to our appearance directly, otherwise we
- // get a synchronization issue.
- ///
- AvatarAppearance Appearance { get; set; }
-
///
/// The AttachmentsModule synchronizes on this to avoid race conditions between commands to add and remove attachments.
///
--
cgit v1.1