From 3e855d36dc0784fd3fedff77fc5aba6bbdcaf38d 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 b6decf6c8..1401e79fb 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 8654e2219..7a929926c 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 484e6018e..3250443ed 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 e7c441e8c..84df95201 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 0a38d138e..663b715a9 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 07059de61..f2c0d025c 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 {