diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-29 12:45:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 12:45:18 +0200 |
commit | cd24fb848e5727ebc7ccbcd0fc94112c6baed4f2 (patch) | |
tree | e5ab7a22d353c90ca2473d63c959e891e3417543 /core/variant | |
parent | 8b454f8b418a0b36a9f121ca9a8cf51c4ab53e41 (diff) | |
parent | ee6fd704b5373c6f430a1f1f3a08505e0418b0c4 (diff) |
Merge pull request #63617 from KoBeWi/v3c70r4
Diffstat (limited to 'core/variant')
-rw-r--r-- | core/variant/variant_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/variant/variant_parser.cpp b/core/variant/variant_parser.cpp index 1df5fa969e..34653310b1 100644 --- a/core/variant/variant_parser.cpp +++ b/core/variant/variant_parser.cpp @@ -1575,11 +1575,11 @@ Error VariantWriter::write(const Variant &p_variant, StoreStringFunc p_store_str } break; case Variant::VECTOR4: { Vector4 v = p_variant; - p_store_string_func(p_store_string_ud, "Vector4(" + rtos_fix(v.x) + ", " + rtos_fix(v.y) + ", " + rtos_fix(v.z) + ")"); + p_store_string_func(p_store_string_ud, "Vector4(" + rtos_fix(v.x) + ", " + rtos_fix(v.y) + ", " + rtos_fix(v.z) + ", " + rtos_fix(v.w) + ")"); } break; case Variant::VECTOR4I: { Vector4i v = p_variant; - p_store_string_func(p_store_string_ud, "Vector4i(" + itos(v.x) + ", " + itos(v.y) + ", " + itos(v.z) + ")"); + p_store_string_func(p_store_string_ud, "Vector4i(" + itos(v.x) + ", " + itos(v.y) + ", " + itos(v.z) + ", " + itos(v.w) + ")"); } break; case Variant::PLANE: { Plane p = p_variant; |