Add one check for a blank URL because the module wasn't quite sure not to work when unconfigured :|
parent
1aed6567a8
commit
31cba5aa66
|
@ -148,6 +148,9 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures
|
||||||
|
|
||||||
public void Store(UUID agentId, WearableCacheItem[] data)
|
public void Store(UUID agentId, WearableCacheItem[] data)
|
||||||
{
|
{
|
||||||
|
if (m_URL == String.Empty)
|
||||||
|
return null;
|
||||||
|
|
||||||
MemoryStream bakeStream = new MemoryStream();
|
MemoryStream bakeStream = new MemoryStream();
|
||||||
XmlTextWriter bakeWriter = new XmlTextWriter(bakeStream, null);
|
XmlTextWriter bakeWriter = new XmlTextWriter(bakeStream, null);
|
||||||
|
|
||||||
|
@ -184,6 +187,5 @@ namespace OpenSim.Region.CoreModules.Avatar.BakedTextures
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue