What steps will reproduce the problem?
call .getAnimationChannels of any MD2 with some animations
What is the expected output? What do you see instead?
Quake2 model - expected: "all","stand","run","attack"...
Quake2 model - instead: "all"
What version of the product are you using? On what operating system?
rev 858
Please provide any additional information below.
--- fix MD2.as ---
/**
* Gets all animation channels for a target. NOTE: when target is null,
'this' object is used.
*
* @param target The target to get the channels for.
*
* @return Array of AnimationChannel3D.
*/
public function getAnimationChannels(target:DisplayObject3D=null):Array
{
target = target || this;
if(target === this)
{
return _channels;
}
return null; // why bother to have the target attr when all that works
is 'this'?
}
Original issue reported on code.google.com by kishalmi@gmail.com on 9 Jan 2009 at 2:21
Original issue reported on code.google.com by
kishalmi@gmail.com
on 9 Jan 2009 at 2:21