aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs
diff options
context:
space:
mode:
authorMW2007-12-07 17:23:11 +0000
committerMW2007-12-07 17:23:11 +0000
commite23290eff67ec2b19cffa3a555deef0a63511358 (patch)
treeec1bed4d0571eca6099ec4de2453a2f8e293824f /OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs
parentThis small patch means that the inventoryserver for grid mode now (diff)
downloadopensim-SC-e23290eff67ec2b19cffa3a555deef0a63511358.zip
opensim-SC-e23290eff67ec2b19cffa3a555deef0a63511358.tar.gz
opensim-SC-e23290eff67ec2b19cffa3a555deef0a63511358.tar.bz2
opensim-SC-e23290eff67ec2b19cffa3a555deef0a63511358.tar.xz
Avatar Appearance refactoring /changes. Added a AvatarAppearance class, each ScenePresence "has" a AvatarAppearance object. All the ScenePresences in a opensim related to one user (so a user's various ScenePresence's in all the regions in that instance) share the same AvatarAppearance object. This means that a user's avatar should appear correctly (to both that user and other users) no matter what border crossing or teleporting they have done.
Note: this mainly improves Standalone mode, as in grid mode the appearance data isn't passed between region servers. Although people should notice a improvement when moving between regions in the same instance.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs b/OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs
index dd3f75d..a0053fe 100644
--- a/OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs
+++ b/OpenSim/Region/Environment/Interfaces/IAvatarFactory.cs
@@ -1,10 +1,11 @@
1using libsecondlife; 1using libsecondlife;
2using OpenSim.Framework; 2using OpenSim.Framework;
3using OpenSim.Region.Environment.Scenes;
3 4
4namespace OpenSim.Region.Environment.Interfaces 5namespace OpenSim.Region.Environment.Interfaces
5{ 6{
6 public interface IAvatarFactory : IRegionModule 7 public interface IAvatarFactory : IRegionModule
7 { 8 {
8 bool TryGetInitialAvatarAppearance(LLUUID avatarId, out AvatarWearable[] wearables, out byte[] visualParams); 9 bool TryGetAvatarAppearance(LLUUID avatarId, out AvatarAppearance appearance);
9 } 10 }
10} \ No newline at end of file 11} \ No newline at end of file