mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-28 02:10:30 -07:00
FIX: studio can not control lamp if not FDM mode
jira: [STUDIO-12573] Change-Id: Ibc51cf6e1024fb25026ad61e7a71398451603cef (cherry picked from commit d9bdf975663712b80c2d96b50ffb94632fd380cc)
This commit is contained in:
parent
38e6589bcb
commit
14dd1cf968
1 changed files with 8 additions and 2 deletions
|
|
@ -2631,10 +2631,16 @@ void StatusPanel::update(MachineObject *obj)
|
|||
#endif
|
||||
|
||||
//m_machine_ctrl_panel->Freeze();
|
||||
if (obj->is_in_printing() && !obj->can_resume())
|
||||
if (obj->is_in_printing() && !obj->can_resume()) {
|
||||
show_printing_status(false, true);
|
||||
else
|
||||
} else {
|
||||
show_printing_status();
|
||||
}
|
||||
|
||||
/*STUDIO-12573*/
|
||||
if (!obj->is_fdm_type()) {
|
||||
m_switch_lamp->Enable(false);
|
||||
}
|
||||
|
||||
update_temp_ctrl(obj);
|
||||
update_misc_ctrl(obj);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue