Remove unused includes & move some includes to top of file
This commit is contained in:
parent
f74491fdee
commit
49ff3d5489
|
@ -32,9 +32,6 @@
|
|||
#define CORE_BIND_H
|
||||
|
||||
#include "core/debugger/engine_profiler.h"
|
||||
#include "core/io/compression.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/io/image.h"
|
||||
#include "core/io/resource_loader.h"
|
||||
#include "core/io/resource_saver.h"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
#define DOC_DATA_H
|
||||
|
||||
#include "core/io/xml_parser.h"
|
||||
#include "core/templates/rb_map.h"
|
||||
#include "core/variant/variant.h"
|
||||
|
||||
struct ScriptMemberInfo {
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#include "core/input/input_map.h"
|
||||
#include "core/input/shortcut.h"
|
||||
#include "core/io/config_file.h"
|
||||
#include "core/io/dir_access.h"
|
||||
#include "core/io/dtls_server.h"
|
||||
#include "core/io/http_client.h"
|
||||
#include "core/io/image_loader.h"
|
||||
|
|
|
@ -35,11 +35,13 @@
|
|||
#include "core/io/resource_importer.h"
|
||||
#include "core/variant/dictionary.h"
|
||||
#include "scene/3d/importer_mesh_instance_3d.h"
|
||||
#include "scene/3d/node_3d.h"
|
||||
#include "scene/resources/animation.h"
|
||||
#include "scene/resources/box_shape_3d.h"
|
||||
#include "scene/resources/capsule_shape_3d.h"
|
||||
#include "scene/resources/cylinder_shape_3d.h"
|
||||
#include "scene/resources/mesh.h"
|
||||
#include "scene/resources/shape_3d.h"
|
||||
#include "scene/resources/skin.h"
|
||||
#include "scene/resources/sphere_shape_3d.h"
|
||||
|
||||
class Material;
|
||||
class AnimationPlayer;
|
||||
|
@ -311,11 +313,6 @@ public:
|
|||
virtual Node *import_scene(const String &p_path, uint32_t p_flags, const HashMap<StringName, Variant> &p_options, int p_bake_fps, List<String> *r_missing_deps, Error *r_err = nullptr) override;
|
||||
};
|
||||
|
||||
#include "scene/resources/box_shape_3d.h"
|
||||
#include "scene/resources/capsule_shape_3d.h"
|
||||
#include "scene/resources/cylinder_shape_3d.h"
|
||||
#include "scene/resources/sphere_shape_3d.h"
|
||||
|
||||
template <class M>
|
||||
Vector<Ref<Shape3D>> ResourceImporterScene::get_collision_shapes(const Ref<Mesh> &p_mesh, const M &p_options) {
|
||||
ShapeType generate_shape_type = SHAPE_TYPE_DECOMPOSE_CONVEX;
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#include "core/object/ref_counted.h"
|
||||
#include "core/templates/list.h"
|
||||
#include "core/templates/oa_hash_map.h"
|
||||
#include "core/templates/rb_map.h"
|
||||
#include "core/templates/vector.h"
|
||||
#include "scene/resources/material.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue