You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
[Debugger] Move servers-related behaviours to ServersDebugger.
Forcing draw during debug break is now handled by ServersDebugger, and
only happens when the proper message is sent from the EditorDebugger
("servers:draw").
In a similar way, briging the window in foreground is now also handled
by ServersDebugger upon receiving "servers:foreground" which is sent by
the EditorDebugger when resuming from a break ("continue").
This commit is contained in:
@@ -129,6 +129,7 @@ void ScriptEditorDebugger::debug_continue() {
|
||||
|
||||
_clear_execution();
|
||||
_put_msg("continue", Array());
|
||||
_put_msg("servers:foreground", Array());
|
||||
}
|
||||
|
||||
void ScriptEditorDebugger::update_tabs() {
|
||||
@@ -834,6 +835,9 @@ void ScriptEditorDebugger::_notification(int p_what) {
|
||||
msg.push_back(cam->get_far());
|
||||
_put_msg("scene:override_camera_3D:transform", msg);
|
||||
}
|
||||
if (breaked) {
|
||||
_put_msg("servers:draw", Array());
|
||||
}
|
||||
}
|
||||
|
||||
const uint64_t until = OS::get_singleton()->get_ticks_msec() + 20;
|
||||
|
||||
Reference in New Issue
Block a user