aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IBakedTextureModule.cs2
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs10
2 files changed, 3 insertions, 9 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IBakedTextureModule.cs b/OpenSim/Region/Framework/Interfaces/IBakedTextureModule.cs
index 3d2e083..570d31c 100644
--- a/OpenSim/Region/Framework/Interfaces/IBakedTextureModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IBakedTextureModule.cs
@@ -35,7 +35,7 @@ namespace OpenSim.Services.Interfaces
35 public interface IBakedTextureModule 35 public interface IBakedTextureModule
36 { 36 {
37 WearableCacheItem[] Get(UUID id); 37 WearableCacheItem[] Get(UUID id);
38 void Store(UUID id, WearableCacheItem[] data); 38 void Store(UUID id);
39 void UpdateMeshAvatar(UUID id); 39 void UpdateMeshAvatar(UUID id);
40 } 40 }
41} 41}
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 5a3e554..cd9dcf5 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -90,7 +90,6 @@ namespace OpenSim.Region.Framework.Scenes
90 90
91 public bool isNPC { get; private set; } 91 public bool isNPC { get; private set; }
92 92
93 public bool Invisible { get; set; }
94 private PresenceType m_presenceType; 93 private PresenceType m_presenceType;
95 public PresenceType PresenceType { 94 public PresenceType PresenceType {
96 get {return m_presenceType;} 95 get {return m_presenceType;}
@@ -950,7 +949,6 @@ namespace OpenSim.Region.Framework.Scenes
950 public ScenePresence( 949 public ScenePresence(
951 IClientAPI client, Scene world, AvatarAppearance appearance, PresenceType type) 950 IClientAPI client, Scene world, AvatarAppearance appearance, PresenceType type)
952 { 951 {
953 Invisible = false;
954 AttachmentsSyncLock = new Object(); 952 AttachmentsSyncLock = new Object();
955 AllowMovement = true; 953 AllowMovement = true;
956 IsChildAgent = true; 954 IsChildAgent = true;
@@ -3716,12 +3714,8 @@ namespace OpenSim.Region.Framework.Scenes
3716 3714
3717 public void SendAppearanceToAgentNF(ScenePresence avatar) 3715 public void SendAppearanceToAgentNF(ScenePresence avatar)
3718 { 3716 {
3719 if (Invisible) 3717 avatar.ControllingClient.SendAppearance(
3720 avatar.ControllingClient.SendAppearance( 3718 UUID, Appearance.VisualParams, Appearance.Texture.GetBytes());
3721 UUID, Appearance.VisualParams, AvatarAppearance.Invisible.GetBytes());
3722 else
3723 avatar.ControllingClient.SendAppearance(
3724 UUID, Appearance.VisualParams, Appearance.Texture.GetBytes());
3725 } 3719 }
3726 3720
3727 public void SendAnimPackToAgent(ScenePresence p) 3721 public void SendAnimPackToAgent(ScenePresence p)