summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/surface.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/surface.cc b/src/surface.cc
index 46ddc07..7987b99 100644
--- a/src/surface.cc
+++ b/src/surface.cc
@@ -122,7 +122,7 @@ PolySet *SurfaceNode::evaluate_polyset(class PolySetEvaluator *) const
std::getline(stream, line);
boost::trim(line);
}
- if (stream.eof()) break;
+ if (line.size() == 0 && stream.eof()) break;
int col = 0;
tokenizer tokens(line, sep);
contact: Jan Huwald // Impressum