Skip to content

Commit

Permalink
Fix of #5 :
Browse files Browse the repository at this point in the history
missing #include <assert.h> in FillBase.hpp

Also disabled the automatic width adjustment in all the infills
by default for now.
  • Loading branch information
bubnikv committed Nov 2, 2016
1 parent 36f51ff commit 3a31d37
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion xs/src/libslic3r/Fill/FillBase.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef slic3r_FillBase_hpp_
#define slic3r_FillBase_hpp_

#include <assert.h>
#include <memory.h>
#include <float.h>
#include <stdint.h>
Expand All @@ -15,7 +16,11 @@ class Surface;

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>
float density;
Expand Down

0 comments on commit 3a31d37

Please sign in to comment.