summaryrefslogtreecommitdiffstats
path: root/editor/import/resource_importer_scene.h
diff options
context:
space:
mode:
authorSilc Renew <tokage.it.lab@gmail.com>2022-08-07 10:55:37 +0900
committerSilc Renew <tokage.it.lab@gmail.com>2022-08-09 09:18:45 +0900
commitf70dfec535ed2baff916199718d9a0ccedf82586 (patch)
tree8f98d72f06ee362079b346ebd408169241b95e11 /editor/import/resource_importer_scene.h
parente6e13c82514518ad8d755d92602f78722ea61c74 (diff)
downloadredot-engine-f70dfec535ed2baff916199718d9a0ccedf82586.tar.gz
improve animation track optimizer algorithm
Diffstat (limited to 'editor/import/resource_importer_scene.h')
-rw-r--r--editor/import/resource_importer_scene.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_scene.h b/editor/import/resource_importer_scene.h
index b336931476..da37893cc5 100644
--- a/editor/import/resource_importer_scene.h
+++ b/editor/import/resource_importer_scene.h
@@ -280,7 +280,7 @@ public:
Ref<Animation> _save_animation_to_file(Ref<Animation> anim, bool p_save_to_file, String p_save_to_path, bool p_keep_custom_tracks);
void _create_clips(AnimationPlayer *anim, const Array &p_clips, bool p_bake_all);
- void _optimize_animations(AnimationPlayer *anim, float p_max_lin_error, float p_max_ang_error, float p_max_angle);
+ void _optimize_animations(AnimationPlayer *anim, float p_max_vel_error, float p_max_ang_error, int p_prc_error);
void _compress_animations(AnimationPlayer *anim, int p_page_size_kb);
Node *pre_import(const String &p_source_file, const HashMap<StringName, Variant> &p_options);