mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-20 04:23:54 +00:00
reimplement ping-pong
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user