From 66a8418a2d6d35ee0631cb096ce42872d6a2278a Mon Sep 17 00:00:00 2001 From: smix8 <52464204+smix8@users.noreply.github.com> Date: Wed, 24 May 2023 23:57:08 +0200 Subject: [PATCH] Remove unnecessary Clipper lib includes Removes unnecessary Clipper lib includes. --- core/math/geometry_3d.cpp | 1 - editor/plugins/skeleton_2d_editor_plugin.cpp | 1 - scene/resources/primitive_meshes.cpp | 1 - 3 files changed, 3 deletions(-) diff --git a/core/math/geometry_3d.cpp b/core/math/geometry_3d.cpp index 590483bf202..9dd88485f90 100644 --- a/core/math/geometry_3d.cpp +++ b/core/math/geometry_3d.cpp @@ -30,7 +30,6 @@ #include "geometry_3d.h" -#include "thirdparty/misc/clipper.hpp" #include "thirdparty/misc/polypartition.h" void Geometry3D::get_closest_points_between_segments(const Vector3 &p_p0, const Vector3 &p_p1, const Vector3 &p_q0, const Vector3 &p_q1, Vector3 &r_ps, Vector3 &r_qt) { diff --git a/editor/plugins/skeleton_2d_editor_plugin.cpp b/editor/plugins/skeleton_2d_editor_plugin.cpp index 6cf73fc48d3..18c2b0c6e08 100644 --- a/editor/plugins/skeleton_2d_editor_plugin.cpp +++ b/editor/plugins/skeleton_2d_editor_plugin.cpp @@ -36,7 +36,6 @@ #include "scene/2d/mesh_instance_2d.h" #include "scene/gui/dialogs.h" #include "scene/gui/menu_button.h" -#include "thirdparty/misc/clipper.hpp" void Skeleton2DEditor::_node_removed(Node *p_node) { if (p_node == node) { diff --git a/scene/resources/primitive_meshes.cpp b/scene/resources/primitive_meshes.cpp index 6a4f7d082e8..204987cac9b 100644 --- a/scene/resources/primitive_meshes.cpp +++ b/scene/resources/primitive_meshes.cpp @@ -35,7 +35,6 @@ #include "scene/resources/theme.h" #include "scene/theme/theme_db.h" #include "servers/rendering_server.h" -#include "thirdparty/misc/clipper.hpp" #include "thirdparty/misc/polypartition.h" #define PADDING_REF_SIZE 1024.0