diff options
author | kobewi <kobewi4e@gmail.com> | 2022-07-26 01:49:51 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-07-26 01:49:57 +0200 |
commit | e4a961b86a34a71bd2543214cab734ed3ee2038b (patch) | |
tree | f52375371decdc499ac2eaf73a5ab65f6eea7360 | |
parent | 3e0e84a54c1c5666c32dbc2abd419b61e071ba33 (diff) |
Fix Vector4 parse error
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index fce3e77dc0..e8fa2981ba 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -60,8 +60,8 @@ Variant::Type GDScriptParser::get_builtin_type(const StringName &p_type) { builtin_types["Transform2D"] = Variant::TRANSFORM2D; builtin_types["Vector3"] = Variant::VECTOR3; builtin_types["Vector3i"] = Variant::VECTOR3I; - builtin_types["Vector4"] = Variant::VECTOR3; - builtin_types["Vector4i"] = Variant::VECTOR3I; + builtin_types["Vector4"] = Variant::VECTOR4; + builtin_types["Vector4i"] = Variant::VECTOR4I; builtin_types["AABB"] = Variant::AABB; builtin_types["Plane"] = Variant::PLANE; builtin_types["Quaternion"] = Variant::QUATERNION; |