diff --git a/scene/3d/mesh_instance_3d.cpp b/scene/3d/mesh_instance_3d.cpp index 6648a9ec4b..4b183bf77d 100644 --- a/scene/3d/mesh_instance_3d.cpp +++ b/scene/3d/mesh_instance_3d.cpp @@ -34,6 +34,7 @@ #include "core/object/class_db.h" #include "scene/3d/skeleton_3d.h" #include "scene/main/scene_tree.h" +#include "servers/rendering/rendering_server.h" #ifndef PHYSICS_3D_DISABLED #include "scene/3d/physics/collision_shape_3d.h" @@ -46,7 +47,6 @@ #include "scene/resources/3d/navigation_mesh_source_geometry_data_3d.h" #include "scene/resources/navigation_mesh.h" #include "servers/navigation_3d/navigation_server_3d.h" -#include "servers/rendering/rendering_server.h" #endif // NAVIGATION_3D_DISABLED #include // FLT_EPSILON diff --git a/scene/3d/physics/static_body_3d.cpp b/scene/3d/physics/static_body_3d.cpp index da4252f072..4de0f24162 100644 --- a/scene/3d/physics/static_body_3d.cpp +++ b/scene/3d/physics/static_body_3d.cpp @@ -32,6 +32,7 @@ #include "core/object/callable_mp.h" #include "core/object/class_db.h" +#include "scene/resources/physics_material.h" #ifndef NAVIGATION_3D_DISABLED #include "core/math/convex_hull.h" @@ -46,7 +47,6 @@ #include "scene/resources/3d/shape_3d.h" #include "scene/resources/3d/sphere_shape_3d.h" #include "scene/resources/navigation_mesh.h" -#include "scene/resources/physics_material.h" #include "servers/navigation_3d/navigation_server_3d.h" Callable StaticBody3D::_navmesh_source_geometry_parsing_callback;