Warn if no layers were detected

This commit is contained in:
Alessandro Ranellucci 2012-01-21 11:34:03 +01:00
parent c5b6787a19
commit a0ebee2ca3

View File

@ -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;
}