mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-27 12:52:07 +00:00
FIX: The humidity popup with humidity_percent/temperature/dry_time
jira: [STUDIO-9268] Change-Id: Ic6e923ae7cff56fa3e053d48e5dea6e393cd41eb (cherry picked from commit 75da1db2f926125a0cb3595a8cae9f4d7588c6a8)
This commit is contained in:
@@ -264,6 +264,7 @@ public:
|
||||
std::string get_filament_type();
|
||||
};
|
||||
|
||||
#define INVALID_AMS_TEMPERATURE std::numeric_limits<float>::min()
|
||||
|
||||
class Ams {
|
||||
public:
|
||||
@@ -276,6 +277,7 @@ public:
|
||||
int left_dry_time = 0;
|
||||
int humidity = 5;
|
||||
int humidity_raw = -1;// the percentage, -1 means invalid. eg. 100 means 100%
|
||||
float current_temperature = INVALID_AMS_TEMPERATURE; // the temperature
|
||||
bool startup_read_opt{true};
|
||||
bool tray_read_opt{false};
|
||||
bool is_exists{false};
|
||||
|
||||
Reference in New Issue
Block a user