diff options
Diffstat (limited to 'OpenSim/Framework/AgentCircuitData.cs')
-rw-r--r-- | OpenSim/Framework/AgentCircuitData.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/OpenSim/Framework/AgentCircuitData.cs b/OpenSim/Framework/AgentCircuitData.cs index 30a9548..098b33c 100644 --- a/OpenSim/Framework/AgentCircuitData.cs +++ b/OpenSim/Framework/AgentCircuitData.cs | |||
@@ -368,15 +368,12 @@ namespace OpenSim.Framework | |||
368 | } | 368 | } |
369 | } | 369 | } |
370 | 370 | ||
371 | if (args["packed_appearance"] != null) | 371 | if (args.ContainsKey("packed_appearance") && (args["packed_appearance"].Type == OSDType.Map)) |
372 | { | 372 | { |
373 | if (args["packed_appearance"].Type == OSDType.Map) | 373 | Appearance.Unpack((OSDMap)args["packed_appearance"]); |
374 | { | 374 | // DEBUG ON |
375 | Appearance.Unpack((OSDMap)args["packed_appearance"]); | 375 | m_log.WarnFormat("[AGENTCIRCUITDATA] unpacked appearance"); |
376 | m_log.WarnFormat("[AGENTCIRCUITDATA] unpacked appearance"); | 376 | // DEBUG OFF |
377 | } | ||
378 | else | ||
379 | m_log.WarnFormat("[AGENTCIRCUITDATA] packed_appearance is not a map:\n{0}",args["packed_appearance"].ToString()); | ||
380 | } | 377 | } |
381 | // DEBUG ON | 378 | // DEBUG ON |
382 | else | 379 | else |