No necessary changes return back

This commit is contained in:
Filip Sykala 2021-04-21 19:17:28 +02:00
parent 5af87d285b
commit be42c506fb
2 changed files with 5 additions and 3 deletions

View File

@ -9,7 +9,7 @@
#include <libslic3r/VoronoiOffset.hpp> #include <libslic3r/VoronoiOffset.hpp>
#include <numeric> #include <numeric>
#define VORONOI_DEBUG_OUT // #define VORONOI_DEBUG_OUT
#ifdef VORONOI_DEBUG_OUT #ifdef VORONOI_DEBUG_OUT
#include <libslic3r/VoronoiVisualUtils.hpp> #include <libslic3r/VoronoiVisualUtils.hpp>

View File

@ -41,7 +41,9 @@ TEST_CASE("Pillar pairhash should be unique", "[SLASupportGeneration]") {
TEST_CASE("Support point generator should be deterministic if seeded", TEST_CASE("Support point generator should be deterministic if seeded",
"[SLASupportGeneration], [SLAPointGen]") { "[SLASupportGeneration], [SLAPointGen]") {
TriangleMesh mesh = load_model("A_upsidedown.obj"); TriangleMesh mesh = load_model("A_upsidedown.obj");
sla::IndexedMesh emesh{mesh}; sla::IndexedMesh emesh{mesh};
sla::SupportTreeConfig supportcfg; sla::SupportTreeConfig supportcfg;
sla::SupportPointGenerator::Config autogencfg; sla::SupportPointGenerator::Config autogencfg;
autogencfg.head_diameter = float(2 * supportcfg.head_front_radius_mm); autogencfg.head_diameter = float(2 * supportcfg.head_front_radius_mm);