diff --git a/src/GUI/Plater/Plate2D.hpp b/src/GUI/Plater/Plate2D.hpp index 2d5752d14..07d9e53da 100644 --- a/src/GUI/Plater/Plate2D.hpp +++ b/src/GUI/Plater/Plate2D.hpp @@ -34,6 +34,8 @@ public: Plate2D(wxWindow* parent, const wxSize& size, std::vector& _objects, std::shared_ptr _model, std::shared_ptr _config, std::shared_ptr _settings); + /// Read print bed size from config and calculate the scaled rendition of the bed given the draw canvas. + void update_bed_size(); // std::function<> on_select_object {}; private: std::vector& objects; //< reference to parent vector @@ -81,8 +83,6 @@ private: /// For a specific point, unscale it relative to the origin wxPoint unscaled_point_to_pixel(const wxPoint& in); - /// Read print bed size from config and calculate the scaled rendition of the bed given the draw canvas. - void update_bed_size(); /// private class variables to stash bits for drawing the print bed area. wxRealPoint bed_origin {};