diff options
author | Diva Canto | 2013-07-20 12:20:35 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-21 09:00:42 -0700 |
commit | d5a1779465b6d875ebe5822ce6f15df3378b759f (patch) | |
tree | 6c794ccabc5c3cbbc27bdfe94c6f4147f2c2aa99 /OpenSim/Framework | |
parent | Fixed the stats in show client stats. Also left some comments with observatio... (diff) | |
download | opensim-SC_OLD-d5a1779465b6d875ebe5822ce6f15df3378b759f.zip opensim-SC_OLD-d5a1779465b6d875ebe5822ce6f15df3378b759f.tar.gz opensim-SC_OLD-d5a1779465b6d875ebe5822ce6f15df3378b759f.tar.bz2 opensim-SC_OLD-d5a1779465b6d875ebe5822ce6f15df3378b759f.tar.xz |
Manage AgentUpdates more sanely:
- The existing event to scene has been split into 2: OnAgentUpdate and OnAgentCameraUpdate, to better reflect the two types of updates that the viewer sends. We can run one without the other, which is what happens when the avie is still but the user is camming around
- Added thresholds (as opposed to equality) to determine whether the update is significant or not. I thin these thresholds are ok, but we can play with them later
- Ignore updates of HeadRotation, which were problematic and aren't being used up stream
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 65f8395..f39eb0c 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -825,6 +825,8 @@ namespace OpenSim.Framework | |||
825 | /// </remarks> | 825 | /// </remarks> |
826 | event UpdateAgent OnAgentUpdate; | 826 | event UpdateAgent OnAgentUpdate; |
827 | 827 | ||
828 | event UpdateAgent OnAgentCameraUpdate; | ||
829 | |||
828 | event AgentRequestSit OnAgentRequestSit; | 830 | event AgentRequestSit OnAgentRequestSit; |
829 | event AgentSit OnAgentSit; | 831 | event AgentSit OnAgentSit; |
830 | event AvatarPickerRequest OnAvatarPickerRequest; | 832 | event AvatarPickerRequest OnAvatarPickerRequest; |