1
0
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:
Pedro J. Estébanez
2016-09-14 04:02:18 +02:00
committed by Rémi Verschelde
parent 56dc7aa568
commit 12d4d65668
9 changed files with 30 additions and 1 deletions

View File

@@ -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 {