summaryrefslogtreecommitdiff
path: root/editor/debugger/debug_adapter
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-04-24 03:21:23 -0500
committerAaron Franke <arnfranke@yahoo.com>2022-04-24 03:21:23 -0500
commitfb6aaacaedfc5d2c17b25a6a54c08f5837ac141b (patch)
tree4c850970c8d351f2bb497ec60d133e1b679e4d20 /editor/debugger/debug_adapter
parent01f184178b6cbb5ba6199898f6296fb03aa37d0e (diff)
Fix type name typo in Debug Adapter Protocol
Diffstat (limited to 'editor/debugger/debug_adapter')
-rw-r--r--editor/debugger/debug_adapter/debug_adapter_protocol.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp
index babe8af8bc..745ca17efd 100644
--- a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp
+++ b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp
@@ -349,14 +349,14 @@ int DebugAdapterProtocol::parse_variant(const Variant &p_var) {
case Variant::BASIS: {
int id = variable_id++;
Basis basis = p_var;
- const String type_vec2 = Variant::get_type_name(Variant::VECTOR2);
+ const String type_vec3 = Variant::get_type_name(Variant::VECTOR3);
DAP::Variable x, y, z;
x.name = "x";
y.name = "y";
z.name = "z";
- x.type = type_vec2;
- y.type = type_vec2;
- z.type = type_vec2;
+ x.type = type_vec3;
+ y.type = type_vec3;
+ z.type = type_vec3;
x.value = basis.elements[0];
y.value = basis.elements[1];
z.value = basis.elements[2];