mirror of
https://github.com/Relintai/procedural_animations.git
synced 2024-11-13 08:27:19 +01:00
Fix generation logic.
This commit is contained in:
parent
72717ea074
commit
c5d3908046
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user