mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
Warn if no layers were detected
This commit is contained in:
@@ -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;
|
return $print;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user