diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-05-18 15:24:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 15:24:21 +0200 |
commit | 5b3d5962858dbd096ddfe01bc214cdfc55fef473 (patch) | |
tree | 5a783f3843b7b21f57ee7cb432d9623298edc3e5 /editor/import/resource_importer_scene.cpp | |
parent | 4e6f5bfe91027b2bb3207f281a213d545c7769d6 (diff) | |
parent | ba8398f27081f2b33accf08e26044c0a9d8a66cb (diff) | |
download | redot-engine-5b3d5962858dbd096ddfe01bc214cdfc55fef473.tar.gz |
Merge pull request #60774 from TokageItLab/root-seek-mode
Fixed broken root motion calculation in internal process of `AnimationBlendTree` such as `NodeOneShot`
Diffstat (limited to 'editor/import/resource_importer_scene.cpp')
-rw-r--r-- | editor/import/resource_importer_scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_scene.cpp b/editor/import/resource_importer_scene.cpp index 647eb1344b..4f666730d5 100644 --- a/editor/import/resource_importer_scene.cpp +++ b/editor/import/resource_importer_scene.cpp @@ -466,7 +466,7 @@ Node *ResourceImporterScene::_pre_fix_node(Node *p_node, Node *p_root, HashMap<R static const char *loop_strings[loop_string_count] = { "loop_mode", "loop", "cycle" }; for (int i = 0; i < loop_string_count; i++) { if (_teststr(animname, loop_strings[i])) { - anim->set_loop_mode(Animation::LoopMode::LOOP_LINEAR); + anim->set_loop_mode(Animation::LOOP_LINEAR); animname = _fixstr(animname, loop_strings[i]); Ref<AnimationLibrary> library = ap->get_animation_library(ap->find_animation_library(anim)); |