diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index f54c5f5..92f5a2c 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -374,7 +374,12 @@ namespace OpenSim.Region.ClientStack.Linden | |||
374 | List<string> validCaps = new List<string>(); | 374 | List<string> validCaps = new List<string>(); |
375 | 375 | ||
376 | foreach (OSD c in capsRequested) | 376 | foreach (OSD c in capsRequested) |
377 | validCaps.Add(c.AsString()); | 377 | { |
378 | string cstr = c.AsString(); | ||
379 | if(cstr == "ObjectAnimation") | ||
380 | m_HostCapsObj.Flags |= Caps.CapsFlags.ObjectAnim; | ||
381 | validCaps.Add(cstr); | ||
382 | } | ||
378 | 383 | ||
379 | string result = LLSDHelpers.SerialiseLLSDReply(m_HostCapsObj.GetCapsDetails(true, validCaps)); | 384 | string result = LLSDHelpers.SerialiseLLSDReply(m_HostCapsObj.GetCapsDetails(true, validCaps)); |
380 | 385 | ||