mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-17 08:55:30 -07:00
Ported Layer::merge_slices() to XS
This commit is contained in:
@@ -126,6 +126,14 @@ Layer::make_slices()
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Layer::merge_slices()
|
||||
{
|
||||
FOREACH_LAYERREGION(this, layerm) {
|
||||
(*layerm)->merge_slices();
|
||||
}
|
||||
}
|
||||
|
||||
template <class T>
|
||||
bool
|
||||
Layer::any_internal_region_slice_contains(const T &item) const
|
||||
|
||||
@@ -95,6 +95,7 @@ class Layer {
|
||||
LayerRegion* add_region(PrintRegion* print_region);
|
||||
|
||||
void make_slices();
|
||||
void merge_slices();
|
||||
template <class T> bool any_internal_region_slice_contains(const T &item) const;
|
||||
template <class T> bool any_bottom_region_slice_contains(const T &item) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user