diff options
author | Melanie | 2014-02-04 04:20:37 +0000 |
---|---|---|
committer | Melanie | 2014-02-04 04:20:37 +0000 |
commit | 31cba5aa6632813c739ea943c0edc15096fcf99f (patch) | |
tree | 1cf4daa9541f1babf6f0e783eafd09ac3617b9a3 /OpenSim/Region/CoreModules/Avatar | |
parent | Samle configurations for the baked texture server. (diff) | |
download | opensim-SC_OLD-31cba5aa6632813c739ea943c0edc15096fcf99f.zip opensim-SC_OLD-31cba5aa6632813c739ea943c0edc15096fcf99f.tar.gz opensim-SC_OLD-31cba5aa6632813c739ea943c0edc15096fcf99f.tar.bz2 opensim-SC_OLD-31cba5aa6632813c739ea943c0edc15096fcf99f.tar.xz |
Add one check for a blank URL because the module wasn't quite sure not to work when unconfigured :|
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/BakedTextures/XBakesModule.cs | 4 |
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 | } |