mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Fixed a crash when slicing leads to no print.
Fixed a bug in TriangleMesh::bounding_box().
This commit is contained in:
1 parent
b08d6f1969
commit
98408bbed0
4 files changed
+6
-2
No files matched your search
@@ -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