mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 23:34:53 +08:00
[godot] Don't bail out if a player is found by SpineAnimationTrack
This commit is contained in:
parent
25c57766e8
commit
6f2519b2bb
@ -122,7 +122,6 @@ void SpineAnimationTrack::setup_animation_player() {
|
||||
if (!sprite) return;
|
||||
if (!sprite->get_skeleton_data_res().is_valid() || !sprite->get_skeleton_data_res()->is_skeleton_data_loaded()) return;
|
||||
AnimationPlayer *animation_player = find_animation_player();
|
||||
if (animation_player) return;
|
||||
|
||||
// If we don't have a track index yet, find the highest track number used
|
||||
// by existing tracks.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user