diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-08-17 16:31:45 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-08-17 16:46:08 -0500 |
commit | e5d85ac7513dcb8d69b32f1b588e1d8bef900278 (patch) | |
tree | ce669b84a54a899747205ae1df818eea7157e07f /core/variant/variant_parser.cpp | |
parent | 819aa47feeefe76bf1cb2e179765bf35ee5d3dda (diff) | |
download | redot-engine-e5d85ac7513dcb8d69b32f1b588e1d8bef900278.tar.gz |
Fixes to tests for Variant and Geometry3D
Diffstat (limited to 'core/variant/variant_parser.cpp')
-rw-r--r-- | core/variant/variant_parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant_parser.cpp b/core/variant/variant_parser.cpp index 50c48fd386..a214a238a6 100644 --- a/core/variant/variant_parser.cpp +++ b/core/variant/variant_parser.cpp @@ -1423,7 +1423,7 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str p_store_string_func(p_store_string_ud, itos(p_variant.operator int64_t())); } break; case Variant::FLOAT: { - String s = rtosfix(p_variant.operator real_t()); + String s = rtosfix(p_variant.operator double()); if (s != "inf" && s != "nan") { if (s.find(".") == -1 && s.find("e") == -1) { s += ".0"; |