Permalink
Browse files

fix crash on last commit

  • Loading branch information...
1 parent e5ae29c commit 2936642613541bc1935ad1e0ffe74e6514e89691 @hurzl hurzl committed Apr 13, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/slicer/infill.cpp
View
@@ -532,6 +532,7 @@ bool sameAngle(double angle1, double angle2, double err)
void Infill::addInfillPolys(const vector<Poly> &polys)
{
+ if (polys.size() == 0) return;
#define NEWINFILL 1
#if NEWINFILL
switch (type) {

0 comments on commit 2936642

Please sign in to comment.