Fixed error in previous commit

This commit is contained in:
Alessandro Ranellucci 2017-01-11 23:08:15 +01:00
parent 88387634eb
commit c36a7c1e3d

View File

@ -185,7 +185,7 @@ LayerRegion::make_fill()
#endif
// switch to rectilinear if this pattern doesn't support solid infill
if (density > 0.9999f && !f->can_solid())
if (density > 99 && !f->can_solid())
#if SLIC3R_CPPVER >= 11
f = std::unique_ptr<Fill>(Fill::new_from_type(ipRectilinear));
#else