You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Merge pull request #90894 from lyuma/animation_step_30
Set animation step from importers. Increase default step from 10 to 30FPS
This commit is contained in:
@@ -1699,6 +1699,7 @@ void FBXDocument::_import_animation(Ref<FBXState> p_state, AnimationPlayer *p_an
|
||||
Ref<Animation> animation;
|
||||
animation.instantiate();
|
||||
animation->set_name(anim_name);
|
||||
animation->set_step(1.0 / p_bake_fps);
|
||||
|
||||
if (anim->get_loop()) {
|
||||
animation->set_loop_mode(Animation::LOOP_LINEAR);
|
||||
|
||||
Reference in New Issue
Block a user