aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-12-06 00:30:44 +0000
committerJustin Clark-Casey (justincc)2013-12-06 00:30:44 +0000
commit16aaba77d49baad0dc581ffbf69d71181b9be70f (patch)
tree660a868413c59d485561fd6710a83461acec138e /OpenSim
parentFix regression where mouse look flight direction no longer worked by zeroing ... (diff)
downloadopensim-SC_OLD-16aaba77d49baad0dc581ffbf69d71181b9be70f.zip
opensim-SC_OLD-16aaba77d49baad0dc581ffbf69d71181b9be70f.tar.gz
opensim-SC_OLD-16aaba77d49baad0dc581ffbf69d71181b9be70f.tar.bz2
opensim-SC_OLD-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')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs4
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;