diff options
author | Silc 'Tokage' Renew <tokage.it.lab@gmail.com> | 2021-10-15 22:25:00 +0900 |
---|---|---|
committer | Silc 'Tokage' Renew <tokage.it.lab@gmail.com> | 2021-11-03 13:39:33 +0900 |
commit | 953a7bce7edf289dd8d2a1a6c8ecd8105380c8da (patch) | |
tree | a460d22509538abda5248c0b3ea7dc96d054b638 /modules/gltf/gltf_document.cpp | |
parent | af80bc8abecc30c77901967281679e380fb9f952 (diff) |
reimplement ping-pong
Diffstat (limited to 'modules/gltf/gltf_document.cpp')
-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 a5e56640ed..d11006b798 100644 --- a/modules/gltf/gltf_document.cpp +++ b/modules/gltf/gltf_document.cpp @@ -5856,7 +5856,7 @@ void GLTFDocument::_import_animation(Ref<GLTFState> state, AnimationPlayer *ap, animation->set_name(name); if (anim->get_loop()) { - animation->set_loop(true); + animation->set_loop_mode(Animation::LOOP_LINEAR); } float length = 0.0; |