Fixed a crash in the multi-material segmentation when projected lines are outside of the BoundingBox used for EdgeGrid.

This commit is contained in:
Lukáš Hejl 2021-07-29 10:21:50 +02:00
parent f577350f1f
commit da3a0c6332
3 changed files with 55 additions and 4 deletions

View file

@ -211,6 +211,9 @@ inline std::vector<float> zs_from_layers(const LayerContainer &layers)
return zs;
}
extern BoundingBox get_extents(const LayerRegion &layer_region);
extern BoundingBox get_extents(const LayerRegionPtrs &layer_regions);
}
#endif