diff options
author | Juan Linietsky <reduzio@gmail.com> | 2021-10-11 19:27:50 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-11 19:27:50 -0300 |
commit | 610de0974db4feb7e50c9349a8a164b6bf0f36c8 (patch) | |
tree | 9d5b542652e576f865abf0c97a37ee272210ae2e /modules/gltf | |
parent | 9ed4f8367b29204b89f9feaf86727b24396fb180 (diff) |
Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and NodeAnimation"
Diffstat (limited to 'modules/gltf')
-rw-r--r-- | modules/gltf/gltf_document.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gltf/gltf_document.cpp b/modules/gltf/gltf_document.cpp index 410b883c77..ba98592600 100644 --- a/modules/gltf/gltf_document.cpp +++ b/modules/gltf/gltf_document.cpp @@ -5815,7 +5815,7 @@ void GLTFDocument::_import_animation(Ref<GLTFState> state, AnimationPlayer *ap, animation->set_name(name); if (anim->get_loop()) { - animation->set_loop_mode(Animation::LOOP_LINEAR); + animation->set_loop(true); } float length = 0.0; |