diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-07-28 01:27:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-28 01:27:34 +0200 |
| commit | a6916d1f179f760f015f385c01729d205af97abe (patch) | |
| tree | 50d664500e5ce164ed8498f34e84aef35678f225 /editor/plugins/sprite_frames_editor_plugin.cpp | |
| parent | 932b75e2477dd97775b5b29639c514e091a83cf2 (diff) | |
| parent | 56e2c6c7043ca14159284b7b1f07e95d6fcf9a9e (diff) | |
| download | redot-engine-a6916d1f179f760f015f385c01729d205af97abe.tar.gz | |
Merge pull request #40678 from aaronfranke/string-float64
Make all String float conversion methods be 64-bit
Diffstat (limited to 'editor/plugins/sprite_frames_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/sprite_frames_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.cpp b/editor/plugins/sprite_frames_editor_plugin.cpp index 516c14329c..1073da7d8c 100644 --- a/editor/plugins/sprite_frames_editor_plugin.cpp +++ b/editor/plugins/sprite_frames_editor_plugin.cpp @@ -458,7 +458,7 @@ void SpriteFramesEditor::_animation_select() { } if (frames->has_animation(edited_anim)) { - double value = anim_speed->get_line_edit()->get_text().to_double(); + double value = anim_speed->get_line_edit()->get_text().to_float(); if (!Math::is_equal_approx(value, frames->get_animation_speed(edited_anim))) { _animation_fps_changed(value); } |
