From c15a0d91bf4d30df4b60359ff53ac6c28d9780aa Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Tue, 26 May 2020 14:34:07 +0200 Subject: [PATCH] Fixed unit tests after previous include manipulations --- src/slic3r/GUI/3DScene.hpp | 1 - src/slic3r/GUI/Selection.hpp | 2 -- tests/fff_print/test_print.cpp | 1 + tests/fff_print/test_printobject.cpp | 1 + tests/fff_print/test_support_material.cpp | 1 + xs/xsp/PerimeterGenerator.xsp | 1 + 6 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/slic3r/GUI/3DScene.hpp b/src/slic3r/GUI/3DScene.hpp index b6decf6c8d9..1401e79fb3e 100644 --- a/src/slic3r/GUI/3DScene.hpp +++ b/src/slic3r/GUI/3DScene.hpp @@ -6,7 +6,6 @@ #include "libslic3r/Line.hpp" #include "libslic3r/TriangleMesh.hpp" #include "libslic3r/Utils.hpp" -//#include "libslic3r/Model.hpp" #include "libslic3r/Geometry.hpp" #include diff --git a/src/slic3r/GUI/Selection.hpp b/src/slic3r/GUI/Selection.hpp index 8654e221943..7a929926c4b 100644 --- a/src/slic3r/GUI/Selection.hpp +++ b/src/slic3r/GUI/Selection.hpp @@ -3,8 +3,6 @@ #include #include "libslic3r/Geometry.hpp" -//#include "libslic3r/Model.hpp" -//#include "3DScene.hpp" #if ENABLE_RENDER_SELECTION_CENTER diff --git a/tests/fff_print/test_print.cpp b/tests/fff_print/test_print.cpp index 484e6018efb..3250443ed0b 100644 --- a/tests/fff_print/test_print.cpp +++ b/tests/fff_print/test_print.cpp @@ -2,6 +2,7 @@ #include "libslic3r/libslic3r.h" #include "libslic3r/Print.hpp" +#include "libslic3r/Layer.hpp" #include "test_data.hpp" diff --git a/tests/fff_print/test_printobject.cpp b/tests/fff_print/test_printobject.cpp index e7c441e8c98..84df95201ab 100644 --- a/tests/fff_print/test_printobject.cpp +++ b/tests/fff_print/test_printobject.cpp @@ -2,6 +2,7 @@ #include "libslic3r/libslic3r.h" #include "libslic3r/Print.hpp" +#include "libslic3r/Layer.hpp" #include "test_data.hpp" diff --git a/tests/fff_print/test_support_material.cpp b/tests/fff_print/test_support_material.cpp index 0a38d138e66..663b715a984 100644 --- a/tests/fff_print/test_support_material.cpp +++ b/tests/fff_print/test_support_material.cpp @@ -1,6 +1,7 @@ #include #include "libslic3r/GCodeReader.hpp" +#include "libslic3r/Layer.hpp" #include "test_data.hpp" // get access to init_print, etc diff --git a/xs/xsp/PerimeterGenerator.xsp b/xs/xsp/PerimeterGenerator.xsp index 07059de6140..f2c0d025cc6 100644 --- a/xs/xsp/PerimeterGenerator.xsp +++ b/xs/xsp/PerimeterGenerator.xsp @@ -3,6 +3,7 @@ %{ #include #include "libslic3r/PerimeterGenerator.hpp" +#include "libslic3r/Layer.hpp" %} %name{Slic3r::Layer::PerimeterGenerator} class PerimeterGenerator {