mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Translate main thread name in the editor instead of running project
This commit is contained in:
parent
f2cc3f1275
commit
513dbff72b
2 changed files with 5 additions and 2 deletions
|
@ -419,7 +419,7 @@ void RemoteDebugger::debug(bool p_can_continue, bool p_is_error_breakpoint) {
|
|||
msg.push_back(error_str);
|
||||
ERR_FAIL_NULL(script_lang);
|
||||
msg.push_back(script_lang->debug_get_stack_level_count() > 0);
|
||||
msg.push_back(Thread::get_caller_id() == Thread::get_main_id() ? String(RTR("Main Thread")) : itos(Thread::get_caller_id()));
|
||||
msg.push_back(Thread::get_caller_id());
|
||||
if (allow_focus_steal_fn) {
|
||||
allow_focus_steal_fn();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue