From c5d39080463ad1266c9411803c5ebfce016b5781 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 1 Apr 2020 18:29:25 +0200 Subject: [PATCH] Fix generation logic. --- procedural_animation.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/procedural_animation.cpp b/procedural_animation.cpp index f92eb06..8b8ffa8 100644 --- a/procedural_animation.cpp +++ b/procedural_animation.cpp @@ -251,6 +251,8 @@ void ProceduralAnimation::process_animation_data() { if (key_index != -1) key_value = _animation->track_get_key_value(i, key_index); + } else { + key_value = _animation->track_get_key_value(i, key_index); } if (key_value.get_type() == Variant::NIL)