diff options
author | Silc Renew <tokage.it.lab@gmail.com> | 2022-05-05 03:53:48 +0900 |
---|---|---|
committer | Silc 'Tokage' Renew <tokage.it.lab@gmail.com> | 2022-05-09 08:28:32 +0900 |
commit | ba8398f27081f2b33accf08e26044c0a9d8a66cb (patch) | |
tree | 0d0f77c9b66aec8b8bdb67cdcc0cbf9e12c8432f /editor/plugins | |
parent | 943b50995292d98d9bc2e45ff04eaf0a716cea28 (diff) |
Fixed delta & Implement selection of whether or not to seek root
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/animation_player_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/animation_player_editor_plugin.cpp b/editor/plugins/animation_player_editor_plugin.cpp index 581dab84b4..57cf13d298 100644 --- a/editor/plugins/animation_player_editor_plugin.cpp +++ b/editor/plugins/animation_player_editor_plugin.cpp @@ -1338,7 +1338,7 @@ void AnimationPlayerEditor::_prepare_onion_layers_2() { float pos = cpos + step_off * anim->get_step(); - bool valid = anim->get_loop_mode() != Animation::LoopMode::LOOP_NONE || (pos >= 0 && pos <= anim->get_length()); + bool valid = anim->get_loop_mode() != Animation::LOOP_NONE || (pos >= 0 && pos <= anim->get_length()); onion.captures_valid.write[cidx] = valid; if (valid) { player->seek(pos, true); |