diff options
author | Andy Maloney <asmaloney@gmail.com> | 2022-09-23 19:06:31 -0400 |
---|---|---|
committer | Andy Maloney <asmaloney@gmail.com> | 2022-09-23 19:06:31 -0400 |
commit | 49ff3d5489e69c7009d40beb8d5f5c38d4a4988f (patch) | |
tree | ff4e6e60ae17134810a2379a36e12df27d245353 /editor/import | |
parent | f74491fdee9bc2d68668137fbacd8f3a7e7e8df7 (diff) |
Remove unused includes & move some includes to top of file
Diffstat (limited to 'editor/import')
-rw-r--r-- | editor/import/resource_importer_scene.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/editor/import/resource_importer_scene.h b/editor/import/resource_importer_scene.h index 77bc06533c..386519bc59 100644 --- a/editor/import/resource_importer_scene.h +++ b/editor/import/resource_importer_scene.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; |