mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user