mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 16:51:21 -06:00
Make clear_regions and delete_region methods private (both Print & Layer), and remove from XSP.
This commit is contained in:
parent
85cbbed663
commit
b8b8c746d9
4 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue