mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 09:22:01 +08:00
Fix debug includes
This commit is contained in:
parent
381a19fc04
commit
925f92c4a5
@ -22,6 +22,10 @@
|
||||
#include "libslic3r/TriangleMesh.hpp"
|
||||
#include "libslic3r/libslic3r.h"
|
||||
|
||||
#ifndef NDEBUG
|
||||
#include "libslic3r/SVG.hpp"
|
||||
#endif
|
||||
|
||||
|
||||
namespace Slic3r { namespace sla {
|
||||
|
||||
|
@ -13,6 +13,14 @@
|
||||
#include "SlicingAdaptive.hpp"
|
||||
#include "admesh/stl.h"
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define ADAPTIVE_LAYER_HEIGHT_DEBUG
|
||||
#endif /* NDEBUG */
|
||||
|
||||
#ifdef ADAPTIVE_LAYER_HEIGHT_DEBUG
|
||||
#include <boost/log/trivial.hpp>
|
||||
#endif
|
||||
|
||||
// Based on the work of Florens Waserfall (@platch on github)
|
||||
// and his paper
|
||||
// Florens Wasserfall, Norman Hendrich, Jianwei Zhang:
|
||||
@ -35,10 +43,6 @@ ylabel("layer height");
|
||||
legend("tan(a) as cura - topographic lines distance limit", "sqrt(tan(a)) as PrusaSlicer - error triangle area limit", "old slic3r - max distance metric", "new slic3r - Waserfall paper");
|
||||
#endif
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define ADAPTIVE_LAYER_HEIGHT_DEBUG
|
||||
#endif /* NDEBUG */
|
||||
|
||||
namespace Slic3r
|
||||
{
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user