From 028d9fa2bd8300e1679e8739451e69273b120d9c Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Fri, 4 Jun 2021 08:06:46 -0400 Subject: [PATCH] Add "Transform" compatibility name for "Transform3D" in VariantParser --- core/variant/variant_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/variant/variant_parser.cpp b/core/variant/variant_parser.cpp index 8152b462260..62643e1d313 100644 --- a/core/variant/variant_parser.cpp +++ b/core/variant/variant_parser.cpp @@ -653,7 +653,7 @@ Error VariantParser::parse_value(Token &token, Variant &value, Stream *p_stream, } value = Basis(args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7], args[8]); - } else if (id == "Transform3D") { + } else if (id == "Transform3D" || id == "Transform") { // "Transform" kept for compatibility with Godot <4. Vector args; Error err = _parse_construct(p_stream, args, line, r_err_str); if (err) {