mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-22 05:59:12 -07:00
Fixed a crash when slicing leads to no print.
Fixed a bug in TriangleMesh::bounding_box().
This commit is contained in:
@@ -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:
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user