mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #49304 from aaronfranke/tr3d-tr-compat-vp
Add "Transform" compatibility name for "Transform3D" in VariantParser
This commit is contained in:
commit
58ee66c52f
@ -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<real_t> args;
|
||||
Error err = _parse_construct<real_t>(p_stream, args, line, r_err_str);
|
||||
if (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user