mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
ENH: set 4 status of monitor extruder icon
Change-Id: I2739c7079268409975a9bd6ed1efb6cf47868438
This commit is contained in:
@@ -1443,6 +1443,7 @@ int MachineObject::command_axis_control(std::string axis, double unit, double va
|
||||
}
|
||||
else if (axis.compare("E") == 0) {
|
||||
sprintf(cmd, "M83 \nG0 %s%0.1f F%d\n", axis.c_str(), value * unit, speed);
|
||||
extruder_axis_status = (value >= 0.0f)? LOAD : UNLOAD;
|
||||
}
|
||||
else {
|
||||
return -1;
|
||||
@@ -1634,6 +1635,7 @@ void MachineObject::reset()
|
||||
print_status = "";
|
||||
last_mc_print_stage = -1;
|
||||
m_new_ver_list_exist = false;
|
||||
extruder_axis_status = LOAD;
|
||||
|
||||
subtask_ = nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user