Fixed a missing bbox.defined=true assignment.
This commit is contained in:
parent
e2a169b0e5
commit
777dc8c48b
1 changed files with 5 additions and 2 deletions
|
@ -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…
Reference in a new issue