diff --git a/scene/2d/mesh_instance_2d.h b/scene/2d/mesh_instance_2d.h index 128db834df7..2f72dca9c1a 100644 --- a/scene/2d/mesh_instance_2d.h +++ b/scene/2d/mesh_instance_2d.h @@ -31,6 +31,7 @@ #pragma once #include "scene/2d/node_2d.h" +#include "scene/resources/mesh.h" class NavigationPolygon; class NavigationMeshSourceGeometryData2D; diff --git a/scene/2d/tile_map_layer.cpp b/scene/2d/tile_map_layer.cpp index 8d06e05a11e..d77af81bc39 100644 --- a/scene/2d/tile_map_layer.cpp +++ b/scene/2d/tile_map_layer.cpp @@ -37,6 +37,7 @@ #include "scene/2d/tile_map.h" #include "scene/gui/control.h" #include "scene/resources/2d/navigation_mesh_source_geometry_data_2d.h" +#include "scene/resources/material.h" #include "scene/resources/world_2d.h" #ifndef PHYSICS_2D_DISABLED diff --git a/scene/animation/animation_blend_space_2d.cpp b/scene/animation/animation_blend_space_2d.cpp index f6b65a70ac8..62ba7edd4e0 100644 --- a/scene/animation/animation_blend_space_2d.cpp +++ b/scene/animation/animation_blend_space_2d.cpp @@ -32,6 +32,7 @@ #include "animation_blend_tree.h" #include "core/math/geometry_2d.h" +#include "scene/resources/material.h" void AnimationNodeBlendSpace2D::get_parameter_list(List *r_list) const { AnimationNode::get_parameter_list(r_list); diff --git a/scene/resources/2d/tile_set.cpp b/scene/resources/2d/tile_set.cpp index 58d5d8d7bb8..100e45b45e3 100644 --- a/scene/resources/2d/tile_set.cpp +++ b/scene/resources/2d/tile_set.cpp @@ -37,6 +37,7 @@ #include "core/templates/rb_set.h" #include "scene/gui/control.h" #include "scene/resources/image_texture.h" +#include "scene/resources/mesh.h" #ifndef NAVIGATION_2D_DISABLED #include "servers/navigation_2d/navigation_server_2d.h"