mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 18:58:00 -06:00
Fix of "exponentional values generated as G1 F-1.95058e+006 causing problems"
https://github.com/prusa3d/Slic3r/issues/463
This commit is contained in:
parent
98408bbed0
commit
6b2b279889
3 changed files with 10 additions and 2 deletions
|
@ -158,6 +158,7 @@ public:
|
|||
BoundingBoxf3 bounding_box() const {
|
||||
BoundingBoxf3 bbox;
|
||||
if (! this->vertices_and_normals_interleaved.empty()) {
|
||||
bbox.defined = true;
|
||||
bbox.min.x = bbox.max.x = this->vertices_and_normals_interleaved[3];
|
||||
bbox.min.y = bbox.max.y = this->vertices_and_normals_interleaved[4];
|
||||
bbox.min.z = bbox.max.z = this->vertices_and_normals_interleaved[5];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue