diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-04-02 14:41:58 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-04-02 14:56:01 +0200 |
commit | ea7b497065a615b6fd4e165b331f50613a63a329 (patch) | |
tree | be20ea6b308f2a989a76042ae4b7448711891f84 /scene/animation/animation_player.cpp | |
parent | 058a0afdeca83145d58a95c426dd01216c397ea9 (diff) | |
download | redot-engine-ea7b497065a615b6fd4e165b331f50613a63a329.tar.gz |
Replace more occurrences of NULL with nullptr
Diffstat (limited to 'scene/animation/animation_player.cpp')
-rw-r--r-- | scene/animation/animation_player.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp index 00f0dce0d6..b657833a3b 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -1242,19 +1242,6 @@ void AnimationPlayer::play(const StringName &p_name, float p_custom_blend, float bool AnimationPlayer::is_playing() const { return playing; - /* - if (playback.current.from==NULL) - return false; - - float len=playback.current.from->animation->get_length(); - float pos = playback.current.pos; - bool loop=playback.current.from->animation->has_loop(); - if (!loop && pos >= len) { - return false; - }; - - return true; - */ } void AnimationPlayer::set_current_animation(const String &p_anim) { |