virtualx-engine/editor
ArdaE 87573e92dc
GLTF import: Prevent significant numerical errors in keyframe times
Keyframe times shift slowly in imported animations, starting with a zero shift
at the beginning and increasing and becoming erratic slowly farther into an
animation, reaching significant levels at times after about 3 minutes into an
animation. This commit fixes the issue by increasing the precision of the
floating point numbers used for keyframe time calculations. Only the most
significant cases that cause fast accumulation of errors over a short animation
duration are fixed. Other cases that would have a marginal benefit from
switching to double precision numbers are left for another PR/further analysis.
Note that this change has no impact on the runtime performance of games/apps
created using Godot. It only affects the GLTF importer.

Fixes #47127.

(cherry picked from commit 6770a9413b)
2021-03-19 10:53:37 +01:00
..
collada Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
doc Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
fileserver Fix crash on cleanup of EditorFileServer 2021-03-07 22:51:06 +01:00
icons Change logo in the About dialog box (return Godot's teeth) 2021-02-16 14:27:39 +01:00
import GLTF import: Prevent significant numerical errors in keyframe times 2021-03-19 10:53:37 +01:00
plugins Fix AnimationTree editor crash when renaming node 2021-03-16 11:38:29 +01:00
translations i18n: Sync translations with Weblate 2021-03-16 11:41:29 +01:00
animation_bezier_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_bezier_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor.cpp fix incorrectly connected optimize_dialog signal 2021-03-08 17:37:13 +01:00
animation_track_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor_plugins.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
animation_track_editor_plugins.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
array_property_edit.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
array_property_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
audio_stream_preview.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
audio_stream_preview.h Modernize atomics 2021-02-18 12:23:25 +01:00
code_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
code_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
connections_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
connections_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
create_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
create_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dependency_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dependency_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dictionary_property_edit.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dictionary_property_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_about.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_about.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_asset_installer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_asset_installer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_atlas_packer.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_atlas_packer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_audio_buses.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_audio_buses.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_autoload_settings.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_autoload_settings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
editor_data.cpp Don't save project settings when not necessary 2021-02-16 14:27:38 +01:00
editor_data.h Detect external modification of scenes 2021-02-11 01:08:49 +01:00
editor_dir_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_dir_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_export.cpp Fix crash when trying to export zero files. 2021-03-12 10:16:32 +01:00
editor_export.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_feature_profile.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_feature_profile.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_file_dialog.cpp trims_whitespaces_when_creating_folder_windows 2021-03-13 22:25:34 +01:00
editor_file_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_file_system.cpp Update the filtering logic to properly handle directories with .gdignore files. 2021-02-22 20:18:56 -08:00
editor_file_system.h Update the filtering logic to properly handle directories with .gdignore files. 2021-02-22 20:18:56 -08:00
editor_folding.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_folding.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_fonts.cpp Improve editor text appearance in (un)zoomed GraphEdit-based editors 2021-02-06 19:24:05 +01:00
editor_fonts.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help_search.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_help_search.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_inspector.cpp Improved Inspector Sub-Resource Editing 2021-02-18 05:43:19 -06:00
editor_inspector.h Improved Inspector Sub-Resource Editing 2021-02-18 05:43:19 -06:00
editor_layouts_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_layouts_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_log.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_log.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_network_profiler.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_network_profiler.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_node.cpp Merge pull request #46999 from bruvzg/mac_new_wnd 2021-03-14 18:21:27 +01:00
editor_node.h Add additional plugin path checks (3.2) 2021-02-24 21:13:13 +02:00
editor_path.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_path.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_plugin.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_plugin.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_plugin_settings.cpp Detect plugins recursively 2021-01-19 18:46:55 +02:00
editor_plugin_settings.h Detect plugins recursively 2021-01-19 18:46:55 +02:00
editor_profiler.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_profiler.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_properties.cpp Fix always capitalized properties in sub-inspector 2021-03-13 21:56:31 +01:00
editor_properties.h Improved Inspector Sub-Resource Editing 2021-02-18 05:43:19 -06:00
editor_properties_array_dict.cpp Increase the page size for array/dictionary editors to 20 2021-02-22 10:15:00 +01:00
editor_properties_array_dict.h Increase the page size for array/dictionary editors to 20 2021-02-22 10:15:00 +01:00
editor_resource_preview.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
editor_resource_preview.h Modernize atomics 2021-02-18 12:23:25 +01:00
editor_run.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_native.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_native.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_script.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_run_script.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_scale.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_scale.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sectioned_inspector.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sectioned_inspector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_settings.cpp Increase the page size for array/dictionary editors to 20 2021-02-22 10:15:00 +01:00
editor_settings.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_spin_slider.cpp fix-EditorSpinSlider-grabber-zoomed-position 2021-03-14 12:03:22 +01:00
editor_spin_slider.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sub_scene.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_sub_scene.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_themes.cpp Fix Tree focus border disappears when Border Size is set to 0 2021-03-12 14:15:34 +01:00
editor_themes.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_vcs_interface.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
editor_vcs_interface.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
export_template_manager.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
export_template_manager.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
filesystem_dock.cpp Make FileSystem dock set its path to the base folder of files after changes 2021-02-11 13:12:06 +01:00
filesystem_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
find_in_files.cpp Make search results font follow code editor font 2021-02-16 14:27:39 +01:00
find_in_files.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
groups_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
groups_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
import_defaults_editor.cpp Backport the Import Defaults Editor 2021-02-24 17:50:42 -03:00
import_defaults_editor.h Backport the Import Defaults Editor 2021-02-24 17:50:42 -03:00
import_dock.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
import_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
inspector_dock.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
inspector_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multi_node_edit.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
multi_node_edit.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_dock.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_dock.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pane_drag.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pane_drag.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
plugin_config_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
plugin_config_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
progress_dialog.cpp Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
progress_dialog.h Implement new CPU lightmapper 2021-01-14 18:05:56 +01:00
project_export.cpp Ensures that export path is used when exporting PCK/ZIP 2021-01-26 17:00:16 +01:00
project_export.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
project_manager.cpp Adjust auto scale on high res displays 2021-02-16 14:47:29 +01:00
project_manager.h Display loading text while the project manager is loading 2021-02-14 17:02:08 +01:00
project_settings_editor.cpp Merge Category and Property fields in the Project Settings 2021-03-02 19:39:46 +03:00
project_settings_editor.h Merge Category and Property fields in the Project Settings 2021-03-02 19:39:46 +03:00
property_editor.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
property_editor.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
property_selector.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
property_selector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
quick_open.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
quick_open.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_exporters.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rename_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rename_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
reparent_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
reparent_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_settings_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
run_settings_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_tree_dock.cpp Prevent 'Change Type' on nodes from an instanced scene 2021-02-26 15:26:31 +01:00
scene_tree_dock.h Prevent 'Change Type' on nodes from an instanced scene 2021-02-26 15:26:31 +01:00
scene_tree_editor.cpp Fix Node can not be reselected 2021-03-14 12:03:22 +01:00
scene_tree_editor.h Keep selected node visible after filter change 2021-02-08 02:25:14 +01:00
script_create_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_create_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_editor_debugger.cpp Fix negative VRAM values 2021-03-09 09:51:17 +00:00
script_editor_debugger.h Keep selected node visible after filter change 2021-02-08 02:25:14 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
settings_config_dialog.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
settings_config_dialog.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
spatial_editor_gizmos.cpp Fix pinned vertices in SoftBody editor gizmo 2021-03-11 18:27:48 -07:00
spatial_editor_gizmos.h Allow CollisionObject to show collision shape meshes 2021-02-24 21:33:40 +01:00