Godot Engine – Multi-platform 2D and 3D game engine
Fix call stack select node
MatheusMDXdc5c2f5b750a
diff --git a/editor/debugger/editor_debugger_inspector.cpp b/editor/debugger/editor_debugger_inspector.cppindex aabaa2b6601..6d91818c91d 100644--- a/editor/debugger/editor_debugger_inspector.cpp+++ b/editor/debugger/editor_debugger_inspector.cpp@@ -446,7 +446,13 @@ void EditorDebuggerInspector::add_stack_variable(const Array &p_array, int p_offv = Object::cast_to<EncodedObjectAsID>(v)->get_object_id();h = PROPERTY_HINT_OBJECT_ID;hs = var.type_hint;++ // Makes the call stack select the node in the remote tree. See https://github.com/godotengine/godot/issues/79477+ if (n == "self") {+ _object_selected(v);+ }}+String type;switch (var.type) {case 0: