Fixed rootBone.

This commit is contained in:
NathanSweet 2013-05-01 13:01:27 +02:00
parent b882cecc16
commit b73132f910

View File

@ -66,7 +66,7 @@ public class Skeleton {
return _bones;
}
public function get rootBone () : SkeletonData {
public function get rootBone () : Bone {
if (_bones.length == 0)
return null;
return _bones[0];