diff options
| author | Rémi Verschelde | 2018-04-19 13:04:41 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2018-04-19 15:20:45 +0200 |
| commit | bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25 (patch) | |
| tree | 40f6fa11f7dd41fd51343af01e1e298a2f7fd859 /scene/animation | |
| parent | 394e6d5ee1479d402892d6df75dddceeb967efcc (diff) | |
| download | godot-bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25.tar.gz godot-bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25.tar.zst godot-bf7ca623a65f25cc4ac7a3ca0d6635331ec07c25.zip | |
Diffstat (limited to 'scene/animation')
| -rw-r--r-- | scene/animation/animation_tree_player.cpp | 4 | ||||
| -rw-r--r-- | scene/animation/animation_tree_player.h | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/scene/animation/animation_tree_player.cpp b/scene/animation/animation_tree_player.cpp index 42fa20068..afdb8b6f7 100644 --- a/scene/animation/animation_tree_player.cpp +++ b/scene/animation/animation_tree_player.cpp @@ -812,8 +812,6 @@ void AnimationTreePlayer::_process_animation(float p_delta) { t.value = t.object->get_indexed(t.subpath); t.value.zero(); - - t.skip = false; } /* STEP 2 PROCESS ANIMATIONS */ @@ -886,7 +884,7 @@ void AnimationTreePlayer::_process_animation(float p_delta) { Track &t = E->get(); - if (t.skip || !t.object) + if (!t.object) continue; if (t.subpath.size()) { // value track diff --git a/scene/animation/animation_tree_player.h b/scene/animation/animation_tree_player.h index 09d6f6fcb..873ff8a9d 100644 --- a/scene/animation/animation_tree_player.h +++ b/scene/animation/animation_tree_player.h @@ -107,8 +107,6 @@ private: Vector3 scale; Variant value; - - bool skip; }; typedef Map<TrackKey, Track> TrackMap; |
