Move DocData and Collada out of their subfolders

Now that the unused DocDump was removed, the `editor/doc` subfolder is
redundant.

Similarly, there's no reason for Collada to have a subfolder for itself
when glTF or OBJ don't.
This commit is contained in:
Rémi Verschelde 2020-03-24 09:54:49 +01:00
parent 9d24541597
commit cfd84625f0
12 changed files with 7 additions and 19 deletions

View File

@ -56,7 +56,7 @@ if env['tools']:
except OSError: except OSError:
pass pass
_make_doc_data_class_path(os.path.join(env.Dir('#').abspath, "editor/doc")) _make_doc_data_class_path(os.path.join(env.Dir('#').abspath, "editor"))
docs = sorted(docs) docs = sorted(docs)
env.Depends("#editor/doc_data_compressed.gen.h", docs) env.Depends("#editor/doc_data_compressed.gen.h", docs)
@ -85,8 +85,6 @@ if env['tools']:
env.add_source_files(env.editor_sources, "*.cpp") env.add_source_files(env.editor_sources, "*.cpp")
SConscript('collada/SCsub')
SConscript('doc/SCsub')
SConscript('debugger/SCsub') SConscript('debugger/SCsub')
SConscript('fileserver/SCsub') SConscript('fileserver/SCsub')
SConscript('icons/SCsub') SConscript('icons/SCsub')

View File

@ -1,5 +0,0 @@
#!/usr/bin/env python
Import('env')
env.add_source_files(env.editor_sources, "*.cpp")

View File

@ -1,5 +0,0 @@
#!/usr/bin/env python
Import('env')
env.add_source_files(env.editor_sources, "*.cpp")

View File

@ -32,7 +32,7 @@
#define EDITOR_HELP_H #define EDITOR_HELP_H
#include "editor/code_editor.h" #include "editor/code_editor.h"
#include "editor/doc/doc_data.h" #include "editor/doc_data.h"
#include "editor/editor_plugin.h" #include "editor/editor_plugin.h"
#include "scene/gui/margin_container.h" #include "scene/gui/margin_container.h"
#include "scene/gui/menu_button.h" #include "scene/gui/menu_button.h"

View File

@ -31,8 +31,8 @@
#include "editor_import_collada.h" #include "editor_import_collada.h"
#include "core/os/os.h" #include "core/os/os.h"
#include "editor/collada/collada.h"
#include "editor/editor_node.h" #include "editor/editor_node.h"
#include "editor/import/collada.h"
#include "scene/3d/camera.h" #include "scene/3d/camera.h"
#include "scene/3d/light.h" #include "scene/3d/light.h"
#include "scene/3d/mesh_instance.h" #include "scene/3d/mesh_instance.h"

View File

@ -71,8 +71,8 @@
#include "servers/register_server_types.h" #include "servers/register_server_types.h"
#ifdef TOOLS_ENABLED #ifdef TOOLS_ENABLED
#include "editor/doc/doc_data.h" #include "editor/doc_data.h"
#include "editor/doc/doc_data_class_path.gen.h" #include "editor/doc_data_class_path.gen.h"
#include "editor/editor_node.h" #include "editor/editor_node.h"
#include "editor/editor_settings.h" #include "editor/editor_settings.h"
#include "editor/progress_dialog.h" #include "editor/progress_dialog.h"

View File

@ -33,7 +33,7 @@
#include "core/class_db.h" #include "core/class_db.h"
#include "core/list.h" #include "core/list.h"
#include "editor/doc/doc_data.h" #include "editor/doc_data.h"
namespace lsp { namespace lsp {

View File

@ -33,7 +33,7 @@
#include "core/class_db.h" #include "core/class_db.h"
#include "core/string_builder.h" #include "core/string_builder.h"
#include "editor/doc/doc_data.h" #include "editor/doc_data.h"
#include "editor/editor_help.h" #include "editor/editor_help.h"
#if defined(DEBUG_METHODS_ENABLED) && defined(TOOLS_ENABLED) #if defined(DEBUG_METHODS_ENABLED) && defined(TOOLS_ENABLED)