mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Fake accepting materials (Type == -2) on FSAssets.
Materials are created with an MD5 hash based UUID in order to stop proliferation of orphaned assets. Therefore a UUID collision is expected on materials and should not have been treated as an error.
This commit is contained in:
@@ -668,6 +668,9 @@ namespace OpenSim.Services.FSAssetService
|
||||
|
||||
if (!m_DataConnector.Store(asset.Metadata, hash))
|
||||
{
|
||||
if (asset.Metadata.Type == -2)
|
||||
return asset.ID;
|
||||
|
||||
return UUID.Zero.ToString();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user