diff options
author | Justin Clark-Casey (justincc) | 2013-12-06 00:30:44 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-12-06 00:30:44 +0000 |
commit | 16aaba77d49baad0dc581ffbf69d71181b9be70f (patch) | |
tree | 660a868413c59d485561fd6710a83461acec138e /OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |
parent | Fix regression where mouse look flight direction no longer worked by zeroing ... (diff) | |
download | opensim-SC-16aaba77d49baad0dc581ffbf69d71181b9be70f.zip opensim-SC-16aaba77d49baad0dc581ffbf69d71181b9be70f.tar.gz opensim-SC-16aaba77d49baad0dc581ffbf69d71181b9be70f.tar.bz2 opensim-SC-16aaba77d49baad0dc581ffbf69d71181b9be70f.tar.xz |
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
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 1d4c7f0..66d2138 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -501,6 +501,10 @@ namespace OpenSim.Region.ClientStack.Linden | |||
501 | inType = 1; | 501 | inType = 1; |
502 | assType = 1; | 502 | assType = 1; |
503 | } | 503 | } |
504 | else if (inventoryType == "snapshot") | ||
505 | { | ||
506 | inType = (sbyte)InventoryType.Snapshot; | ||
507 | } | ||
504 | else if (inventoryType == "animation") | 508 | else if (inventoryType == "animation") |
505 | { | 509 | { |
506 | inType = 19; | 510 | inType = 19; |