ENABLE_GCODE_VIEWER_AS_STATE -> Use default printbed in gcode viewer

This commit is contained in:
enricoturri1966 2020-06-08 12:27:32 +02:00
parent ca17948f87
commit 70478f226f
6 changed files with 79 additions and 29 deletions

View file

@ -360,6 +360,9 @@ public:
Mouse3DController& get_mouse3d_controller();
void set_bed_shape() const;
#if ENABLE_GCODE_VIEWER_AS_STATE
void set_bed_shape(const Pointfs& shape, const std::string& custom_texture, const std::string& custom_model) const;
#endif // ENABLE_GCODE_VIEWER_AS_STATE
// ROII wrapper for suppressing the Undo / Redo snapshot to be taken.
class SuppressSnapshots