mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-28 03:11:47 +00:00
FIX: the display of n3s humidity
jira: [STUDIO-14195] Change-Id: I6b49df928bdb1ce36450006805dd5d152ca7ad96 (cherry picked from commit 1e7cd2340c3c67a6a49e61dc7645428203d4df56)
This commit is contained in:
@@ -261,6 +261,7 @@ public:
|
||||
void parse_ext_info(MachineObject* obj, DevAmsTray tray);
|
||||
|
||||
bool support_drying() const { return (ams_type == AMSModel::N3S_AMS) || (ams_type == AMSModel::N3F_AMS); };
|
||||
bool support_humidity() const { return 1 <= get_humidity_display_idx() && get_humidity_display_idx() <= 5; }
|
||||
Caninfo get_caninfo(const std::string& can_id, bool& found) const;
|
||||
|
||||
int get_humidity_display_idx() const;
|
||||
@@ -739,9 +740,6 @@ public:
|
||||
ScalableBitmap ams_sun_img;
|
||||
ScalableBitmap ams_drying_img;
|
||||
|
||||
|
||||
int m_humidity = { 0 };
|
||||
bool m_show_humidity = { false };
|
||||
bool m_vams_loading{ false };
|
||||
AMSModel m_ams_model;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user