aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs b/OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs
index 6ef5e39..2f2b845 100644
--- a/OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs
@@ -148,6 +148,9 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures
148 148
149 public void Store(UUID agentId, WearableCacheItem[] data) 149 public void Store(UUID agentId, WearableCacheItem[] data)
150 { 150 {
151 if (m_URL == String.Empty)
152 return null;
153
151 MemoryStream bakeStream = new MemoryStream(); 154 MemoryStream bakeStream = new MemoryStream();
152 XmlTextWriter bakeWriter = new XmlTextWriter(bakeStream, null); 155 XmlTextWriter bakeWriter = new XmlTextWriter(bakeStream, null);
153 156
@@ -184,6 +187,5 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures
184 } 187 }
185 ); 188 );
186 } 189 }
187
188 } 190 }
189} 191}