diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index c79c14a8a..0e0d474b2 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -138,6 +138,9 @@ sub new_from_mesh { } } + warn "No layers were detected. You might want to repair your STL file and retry.\n" + if !@{$print->layers}; + return $print; }