mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Fixed a missing bbox.defined=true assignment.
This commit is contained in:
@@ -34,6 +34,7 @@ static inline BoundingBoxf extrusionentity_extents(const ExtrusionPath &extrusio
|
|||||||
if (! empty(bbox)) {
|
if (! empty(bbox)) {
|
||||||
bboxf.min = Pointf::new_unscale(bbox.min);
|
bboxf.min = Pointf::new_unscale(bbox.min);
|
||||||
bboxf.max = Pointf::new_unscale(bbox.max);
|
bboxf.max = Pointf::new_unscale(bbox.max);
|
||||||
|
bboxf.defined = true;
|
||||||
}
|
}
|
||||||
return bboxf;
|
return bboxf;
|
||||||
}
|
}
|
||||||
@@ -47,7 +48,8 @@ static inline BoundingBoxf extrusionentity_extents(const ExtrusionLoop &extrusio
|
|||||||
if (! empty(bbox)) {
|
if (! empty(bbox)) {
|
||||||
bboxf.min = Pointf::new_unscale(bbox.min);
|
bboxf.min = Pointf::new_unscale(bbox.min);
|
||||||
bboxf.max = Pointf::new_unscale(bbox.max);
|
bboxf.max = Pointf::new_unscale(bbox.max);
|
||||||
}
|
bboxf.defined = true;
|
||||||
|
}
|
||||||
return bboxf;
|
return bboxf;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,7 +62,8 @@ static inline BoundingBoxf extrusionentity_extents(const ExtrusionMultiPath &ext
|
|||||||
if (! empty(bbox)) {
|
if (! empty(bbox)) {
|
||||||
bboxf.min = Pointf::new_unscale(bbox.min);
|
bboxf.min = Pointf::new_unscale(bbox.min);
|
||||||
bboxf.max = Pointf::new_unscale(bbox.max);
|
bboxf.max = Pointf::new_unscale(bbox.max);
|
||||||
}
|
bboxf.defined = true;
|
||||||
|
}
|
||||||
return bboxf;
|
return bboxf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user