mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
Fixed rootBone.
This commit is contained in:
parent
b882cecc16
commit
b73132f910
@ -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];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user