You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Fix single-object inspect command regression
This commit is contained in:
@@ -1176,6 +1176,16 @@ void DebugAdapterProtocol::on_debug_data(const String &p_msg, const Array &p_dat
|
||||
|
||||
parse_object(remote_obj);
|
||||
}
|
||||
#ifndef DISABLE_DEPRECATED
|
||||
} else if (p_msg == "scene:inspect_object") {
|
||||
if (!p_data.is_empty()) {
|
||||
// Legacy single object response format.
|
||||
SceneDebuggerObject remote_obj;
|
||||
remote_obj.deserialize(p_data);
|
||||
|
||||
parse_object(remote_obj);
|
||||
}
|
||||
#endif // DISABLE_DEPRECATED
|
||||
} else if (p_msg == "evaluation_return") {
|
||||
// An evaluation was requested from the debuggee; parse it.
|
||||
DebuggerMarshalls::ScriptStackVariable remote_evaluation;
|
||||
|
||||
Reference in New Issue
Block a user