Skip to content

Commit

Permalink
fix crash on last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
hurzl committed Apr 13, 2012
1 parent e5ae29c commit 2936642
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/slicer/infill.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ bool sameAngle(double angle1, double angle2, double err)


void Infill::addInfillPolys(const vector<Poly> &polys) void Infill::addInfillPolys(const vector<Poly> &polys)
{ {
if (polys.size() == 0) return;
#define NEWINFILL 1 #define NEWINFILL 1
#if NEWINFILL #if NEWINFILL
switch (type) { switch (type) {
Expand Down

0 comments on commit 2936642

Please sign in to comment.