mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Half of the compatibility is working. Login into a new region with
old data works. Teleport out of a new region with old data works. Teleport into a new region with old data does not trigger the necessary rebake.
This commit is contained in:
@@ -368,15 +368,12 @@ namespace OpenSim.Framework
|
||||
}
|
||||
}
|
||||
|
||||
if (args["packed_appearance"] != null)
|
||||
if (args.ContainsKey("packed_appearance") && (args["packed_appearance"].Type == OSDType.Map))
|
||||
{
|
||||
if (args["packed_appearance"].Type == OSDType.Map)
|
||||
{
|
||||
Appearance.Unpack((OSDMap)args["packed_appearance"]);
|
||||
m_log.WarnFormat("[AGENTCIRCUITDATA] unpacked appearance");
|
||||
}
|
||||
else
|
||||
m_log.WarnFormat("[AGENTCIRCUITDATA] packed_appearance is not a map:\n{0}",args["packed_appearance"].ToString());
|
||||
Appearance.Unpack((OSDMap)args["packed_appearance"]);
|
||||
// DEBUG ON
|
||||
m_log.WarnFormat("[AGENTCIRCUITDATA] unpacked appearance");
|
||||
// DEBUG OFF
|
||||
}
|
||||
// DEBUG ON
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user