feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -256,8 +256,7 @@ void AnimationPlayer::_process_playback_data(PlaybackData &cd, double p_delta, f
|
|||
float AnimationPlayer::get_current_blend_amount() {
|
||||
Playback &c = playback;
|
||||
float blend = 1.0;
|
||||
for (List<Blend>::Element *E = c.blend.front(); E; E = E->next()) {
|
||||
Blend &b = E->get();
|
||||
for (const Blend &b : c.blend) {
|
||||
blend = blend - b.blend_left;
|
||||
}
|
||||
return MAX(0, blend);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue