summaryrefslogtreecommitdiffstats
path: root/scene/animation/animation_player.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-09-18 19:46:32 -0300
committerJuan Linietsky <reduzio@gmail.com>2019-09-18 19:46:32 -0300
commitd81ddaf33ecddab1c83bc964b0bee4328b7f7b06 (patch)
treed3e07a31f67b0a5aa48e084e6f11899f7480348c /scene/animation/animation_player.cpp
parent2861fd9552c242ef7a98f63312f253e6534c5b34 (diff)
downloadredot-engine-d81ddaf33ecddab1c83bc964b0bee4328b7f7b06.tar.gz
Added skin support and simplified APIs to override bone position.
Diffstat (limited to 'scene/animation/animation_player.cpp')
-rw-r--r--scene/animation/animation_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp
index 051f832882..728c23fbaa 100644
--- a/scene/animation/animation_player.cpp
+++ b/scene/animation/animation_player.cpp
@@ -256,7 +256,7 @@ void AnimationPlayer::_ensure_node_caches(AnimationData *p_anim) {
Skeleton *sk = Object::cast_to<Skeleton>(child);
bone_idx = sk->find_bone(a->track_get_path(i).get_subname(0));
- if (bone_idx == -1 || sk->is_bone_ignore_animation(bone_idx)) {
+ if (bone_idx == -1) {
continue;
}