Add one check for a blank URL because the module wasn't quite sure not to work when unconfigured :|

0.8.0.3
Melanie 2014-02-04 04:20:37 +00:00
parent 1aed6567a8
commit 31cba5aa66
1 changed files with 3 additions and 1 deletions

View File

@ -148,6 +148,9 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures
public void Store(UUID agentId, WearableCacheItem[] data)
{
if (m_URL == String.Empty)
return null;
MemoryStream bakeStream = new MemoryStream();
XmlTextWriter bakeWriter = new XmlTextWriter(bakeStream, null);
@ -184,6 +187,5 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures
}
);
}
}
}