mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Add one check for a blank URL because the module wasn't quite sure not to work when unconfigured :|
This commit is contained in:
@@ -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
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user