You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Merge branch 'master' of https://github.com/godotengine/godot
This commit is contained in:
@@ -57,7 +57,6 @@
|
||||
#include "tools/editor/editor_node.h"
|
||||
#include "tools/editor/project_manager.h"
|
||||
|
||||
#include "tools/pck/pck_packer.h"
|
||||
#endif
|
||||
|
||||
#include "io/file_access_network.h"
|
||||
@@ -559,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 {
|
||||
|
||||
@@ -996,7 +1005,7 @@ Error Main::setup2() {
|
||||
#ifdef TOOLS_ENABLED
|
||||
ObjectTypeDB::set_current_api(ObjectTypeDB::API_EDITOR);
|
||||
EditorNode::register_editor_types();
|
||||
ObjectTypeDB::register_type<PCKPacker>(); // todo: move somewhere else
|
||||
|
||||
ObjectTypeDB::set_current_api(ObjectTypeDB::API_CORE);
|
||||
|
||||
#endif
|
||||
@@ -1759,4 +1768,3 @@ void Main::cleanup() {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user