mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-01 13:19:08 +08:00
Fixed rootBone.
This commit is contained in:
parent
b882cecc16
commit
b73132f910
@ -66,7 +66,7 @@ public class Skeleton {
|
|||||||
return _bones;
|
return _bones;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function get rootBone () : SkeletonData {
|
public function get rootBone () : Bone {
|
||||||
if (_bones.length == 0)
|
if (_bones.length == 0)
|
||||||
return null;
|
return null;
|
||||||
return _bones[0];
|
return _bones[0];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user