PCKPacker: moved from tools into core, fixes #4129

This commit is contained in:
J08nY 2016-10-01 22:04:10 +02:00
parent 3ecd8560fd
commit b1fba2e013
No known key found for this signature in database
GPG key ID: 7F4A448FE68F329D
6 changed files with 4 additions and 8 deletions

View file

@ -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"
@ -996,7 +995,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
@ -1755,4 +1754,3 @@ void Main::cleanup() {
}