mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-30 11:19:12 -07:00
Make clear_regions and delete_region methods private (both Print & Layer), and remove from XSP.
This commit is contained in:
@@ -82,18 +82,20 @@ class Layer {
|
||||
|
||||
|
||||
size_t region_count();
|
||||
void clear_regions();
|
||||
LayerRegion* get_region(int idx);
|
||||
LayerRegion* add_region(PrintRegion* print_region);
|
||||
void delete_region(int idx);
|
||||
|
||||
protected:
|
||||
int _id; // sequential number of layer, 0-based
|
||||
PrintObject *_object;
|
||||
|
||||
|
||||
Layer(int id, PrintObject *object, coordf_t height, coordf_t print_z,
|
||||
coordf_t slice_z);
|
||||
virtual ~Layer();
|
||||
|
||||
void clear_regions();
|
||||
void delete_region(int idx);
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -154,9 +154,11 @@ class Print
|
||||
const BoundingBoxf3 &modobj_bbox);
|
||||
void delete_object(int idx);
|
||||
|
||||
void clear_regions();
|
||||
PrintRegion* get_region(int idx);
|
||||
PrintRegion* add_region();
|
||||
|
||||
private:
|
||||
void clear_regions();
|
||||
void delete_region(int idx);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user