Fix of previous commit
This commit is contained in:
parent
99301f89f6
commit
3e28b4c967
@ -504,7 +504,7 @@ static void transformed_its_bboxes_in_z_ranges(
|
|||||||
std::vector<std::pair<PrintObjectRegions::BoundingBox, bool>> &bboxes,
|
std::vector<std::pair<PrintObjectRegions::BoundingBox, bool>> &bboxes,
|
||||||
const float offset)
|
const float offset)
|
||||||
{
|
{
|
||||||
bboxes.assign(z_ranges.size(), std::make_pair(PrintObjectRegions::BoundingBox, false));
|
bboxes.assign(z_ranges.size(), std::make_pair(PrintObjectRegions::BoundingBox(), false));
|
||||||
for (const stl_triangle_vertex_indices &tri : its.indices) {
|
for (const stl_triangle_vertex_indices &tri : its.indices) {
|
||||||
const Vec3f pts[3] = { m * its.vertices[tri(0)], m * its.vertices[tri(1)], m * its.vertices[tri(2)] };
|
const Vec3f pts[3] = { m * its.vertices[tri(0)], m * its.vertices[tri(1)], m * its.vertices[tri(2)] };
|
||||||
for (size_t irange = 0; irange < z_ranges.size(); ++ irange) {
|
for (size_t irange = 0; irange < z_ranges.size(); ++ irange) {
|
||||||
|
Loading…
Reference in New Issue
Block a user