Properly set InventoryType.Snapshot when a snapshot is uploaded

Resolves http://opensimulator.org/mantis/view.php?id=6857
This prevents the inventory service complaining later about an attempt to change an invariant
This commit is contained in:
Justin Clark-Casey (justincc)
2013-12-06 00:30:44 +00:00
parent 17b32b764a
commit 16aaba77d4

View File

@@ -501,6 +501,10 @@ namespace OpenSim.Region.ClientStack.Linden
inType = 1;
assType = 1;
}
else if (inventoryType == "snapshot")
{
inType = (sbyte)InventoryType.Snapshot;
}
else if (inventoryType == "animation")
{
inType = 19;