Fix generation logic.

This commit is contained in:
Relintai 2020-04-01 18:29:25 +02:00
parent 72717ea074
commit c5d3908046

View File

@ -251,6 +251,8 @@ void ProceduralAnimation::process_animation_data() {
if (key_index != -1) if (key_index != -1)
key_value = _animation->track_get_key_value(i, key_index); 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) if (key_value.get_type() == Variant::NIL)