Fix teleporting from older to newer regions

avinationmerge
Melanie 2012-05-04 21:00:41 +02:00
parent 333d013b5c
commit 197163e12a
1 changed files with 8 additions and 1 deletions

View File

@ -601,9 +601,16 @@ namespace OpenSim.Framework
} }
if (args["default_animation"] != null) if (args["default_animation"] != null)
{
try
{ {
DefaultAnim = new Animation((OSDMap)args["default_animation"]); 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)
//{ //{