missing #include <assert.h> in FillBase.hpp

Also disabled the automatic width adjustment in all the infills
by default for now.
This commit is contained in:
bubnikv 2016-11-02 09:00:26 +01:00
parent 36f51ff2bf
commit 3a31d37d35

View File

@ -1,6 +1,7 @@
#ifndef slic3r_FillBase_hpp_ #ifndef slic3r_FillBase_hpp_
#define slic3r_FillBase_hpp_ #define slic3r_FillBase_hpp_
#include <assert.h>
#include <memory.h> #include <memory.h>
#include <float.h> #include <float.h>
#include <stdint.h> #include <stdint.h>
@ -15,7 +16,11 @@ class Surface;
struct FillParams struct FillParams
{ {
FillParams() { memset(this, 0, sizeof(FillParams)); } FillParams() {
memset(this, 0, sizeof(FillParams));
// Adjustment does not work.
dont_adjust = true;
}
// Fill density, fraction in <0, 1> // Fill density, fraction in <0, 1>
float density; float density;