aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2014-08-06 05:56:10 +0100
committerUbitUmarov2014-08-06 05:56:10 +0100
commit552b4e45e8700cc71bbbea18b5bad167998a74e4 (patch)
tree9454f4ab6ee92616fd67f3345ff77df18a195941
parentsome debug to remove later (diff)
downloadopensim-SC_OLD-552b4e45e8700cc71bbbea18b5bad167998a74e4.zip
opensim-SC_OLD-552b4e45e8700cc71bbbea18b5bad167998a74e4.tar.gz
opensim-SC_OLD-552b4e45e8700cc71bbbea18b5bad167998a74e4.tar.bz2
opensim-SC_OLD-552b4e45e8700cc71bbbea18b5bad167998a74e4.tar.xz
bakemodule didnt like last changes
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs8
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs13
2 files changed, 8 insertions, 13 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs
index 19afe97..2da653d 100644
--- a/OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs
+++ b/OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs
@@ -254,18 +254,16 @@ namespace OpenSim.Region.ClientStack.Linden
254 } 254 }
255 } 255 }
256 256
257
258
259 p.Appearance.WearableCacheItems = cacheItems; 257 p.Appearance.WearableCacheItems = cacheItems;
260 258
261
262
263 if (m_BakedTextureModule != null) 259 if (m_BakedTextureModule != null)
264 { 260 {
265 m_BakedTextureModule.Store(remoteClient.AgentId, cacheItems); 261 m_BakedTextureModule.Store(remoteClient.AgentId, cacheItems);
266 p.Appearance.WearableCacheItemsDirty = true; 262 p.Appearance.WearableCacheItemsDirty = true;
267 263
268 } 264 }
265 else
266 p.Appearance.WearableCacheItemsDirty = false;
269 } 267 }
270 } 268 }
271 269
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 }