aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
diff options
context:
space:
mode:
authorUbitUmarov2014-08-06 05:56:10 +0100
committerUbitUmarov2014-08-06 05:56:10 +0100
commit552b4e45e8700cc71bbbea18b5bad167998a74e4 (patch)
tree9454f4ab6ee92616fd67f3345ff77df18a195941 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
parentsome debug to remove later (diff)
downloadopensim-SC-552b4e45e8700cc71bbbea18b5bad167998a74e4.zip
opensim-SC-552b4e45e8700cc71bbbea18b5bad167998a74e4.tar.gz
opensim-SC-552b4e45e8700cc71bbbea18b5bad167998a74e4.tar.bz2
opensim-SC-552b4e45e8700cc71bbbea18b5bad167998a74e4.tar.xz
bakemodule didnt like last changes
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs13
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 0e8c7ca..08b6cb4 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -12037,19 +12037,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP
12037 ScenePresence p = m_scene.GetScenePresence(AgentId); 12037 ScenePresence p = m_scene.GetScenePresence(AgentId);
12038 if (p.Appearance != null) 12038 if (p.Appearance != null)
12039 { 12039 {
12040 if (p.Appearance.WearableCacheItems == null) 12040 if (p.Appearance.WearableCacheItems == null || p.Appearance.WearableCacheItemsDirty)
12041 { 12041 {
12042 if (bakedTextureModule != null) 12042 if (bakedTextureModule != null)
12043 { 12043 {
12044 m_log.Debug("[ HandleAgentTextureCached] bakedTextureModule"); 12044 m_log.Debug("[ HandleAgentTextureCached] bakedTextureModule");
12045 try 12045 try
12046 { 12046 {
12047 if (p.Appearance.WearableCacheItemsDirty) 12047 cacheItems = bakedTextureModule.Get(AgentId);
12048 { 12048 p.Appearance.WearableCacheItems = cacheItems;
12049 cacheItems = bakedTextureModule.Get(AgentId); 12049 p.Appearance.WearableCacheItemsDirty = false;
12050 p.Appearance.WearableCacheItems = cacheItems;
12051 p.Appearance.WearableCacheItemsDirty = false;
12052 }
12053 } 12050 }
12054 12051
12055 /* 12052 /*
@@ -12074,7 +12071,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
12074 } 12071 }
12075 } 12072 }
12076 12073
12077 if (p.Appearance.WearableCacheItems != null) 12074 else if (p.Appearance.WearableCacheItems != null)
12078 { 12075 {
12079 cacheItems = p.Appearance.WearableCacheItems; 12076 cacheItems = p.Appearance.WearableCacheItems;
12080 } 12077 }