Fixed a missing bbox.defined=true assignment.

This commit is contained in:
bubnikv 2017-09-13 15:52:51 +02:00
parent e2a169b0e5
commit 777dc8c48b

View file

@ -34,6 +34,7 @@ static inline BoundingBoxf extrusionentity_extents(const ExtrusionPath &extrusio
if (! empty(bbox)) {
bboxf.min = Pointf::new_unscale(bbox.min);
bboxf.max = Pointf::new_unscale(bbox.max);
bboxf.defined = true;
}
return bboxf;
}
@ -47,6 +48,7 @@ static inline BoundingBoxf extrusionentity_extents(const ExtrusionLoop &extrusio
if (! empty(bbox)) {
bboxf.min = Pointf::new_unscale(bbox.min);
bboxf.max = Pointf::new_unscale(bbox.max);
bboxf.defined = true;
}
return bboxf;
}
@ -60,6 +62,7 @@ static inline BoundingBoxf extrusionentity_extents(const ExtrusionMultiPath &ext
if (! empty(bbox)) {
bboxf.min = Pointf::new_unscale(bbox.min);
bboxf.max = Pointf::new_unscale(bbox.max);
bboxf.defined = true;
}
return bboxf;
}