SPE-1560 - Scale to fit command modified to avoid having the top layer exceeding the print volume max height
This commit is contained in:
parent
1873252a30
commit
d99364d74d
3 changed files with 75 additions and 20 deletions
|
@ -291,6 +291,8 @@ class GLCanvas3D
|
|||
|
||||
std::string get_tooltip(const GLCanvas3D& canvas) const;
|
||||
|
||||
std::pair<SlicingParameters, const std::vector<double>> get_layers_height_data();
|
||||
|
||||
private:
|
||||
bool is_initialized() const;
|
||||
void generate_layer_height_texture();
|
||||
|
@ -958,6 +960,8 @@ public:
|
|||
|
||||
void apply_retina_scale(Vec2d &screen_coordinate) const;
|
||||
|
||||
std::pair<SlicingParameters, const std::vector<double>> get_layers_height_data(int object_id);
|
||||
|
||||
private:
|
||||
bool _is_shown_on_screen() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue