mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Improve debug focus behavior
Fix focusing debugged game on Windows
Add re-focusing editor on continue
(cherry picked from commit 66dac878ac)
This commit is contained in:
parent
56dc7aa568
commit
12d4d65668
9 changed files with 30 additions and 1 deletions
|
|
@ -558,6 +558,16 @@ Error Main::setup(const char *execpath,int argc, char *argv[],bool p_second_phas
|
|||
} else {
|
||||
goto error;
|
||||
|
||||
}
|
||||
} else if (I->get()=="-epid") {
|
||||
if (I->next()) {
|
||||
|
||||
int editor_pid=I->next()->get().to_int();
|
||||
Globals::get_singleton()->set("editor_pid",editor_pid);
|
||||
N=I->next()->next();
|
||||
} else {
|
||||
goto error;
|
||||
|
||||
}
|
||||
} else {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue