You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +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:
committed by
Rémi Verschelde
parent
56dc7aa568
commit
12d4d65668
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user