mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 13:06:02 +08:00
Fixed a missing bbox.defined=true assignment.
This commit is contained in:
parent
e2a169b0e5
commit
777dc8c48b
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user