Fix teleporting from older to newer regions
parent
333d013b5c
commit
197163e12a
|
@ -602,7 +602,14 @@ namespace OpenSim.Framework
|
||||||
|
|
||||||
if (args["default_animation"] != null)
|
if (args["default_animation"] != null)
|
||||||
{
|
{
|
||||||
DefaultAnim = new Animation((OSDMap)args["default_animation"]);
|
try
|
||||||
|
{
|
||||||
|
DefaultAnim = new Animation((OSDMap)args["default_animation"]);
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
DefaultAnim = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//if ((args["agent_textures"] != null) && (args["agent_textures"]).Type == OSDType.Array)
|
//if ((args["agent_textures"] != null) && (args["agent_textures"]).Type == OSDType.Array)
|
||||||
|
|
Loading…
Reference in New Issue