mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed a crash when slicing leads to no print.
Fixed a bug in TriangleMesh::bounding_box().
This commit is contained in:
parent
b08d6f1969
commit
98408bbed0
4 changed files with 6 additions and 2 deletions
|
@ -1253,7 +1253,8 @@ void PrintObject::_slice()
|
|||
goto end;
|
||||
delete layer;
|
||||
this->layers.pop_back();
|
||||
this->layers.back()->upper_layer = nullptr;
|
||||
if (! this->layers.empty())
|
||||
this->layers.back()->upper_layer = nullptr;
|
||||
}
|
||||
end:
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue