FIX: hide fan when device not in fdm

JIRA: none

Change-Id: I14a6e01b4e0950ca1bc3c805fe00313cfd7caf06
(cherry picked from commit c12b4f13911a7f6057eced54dba9e41cf75985ea)
This commit is contained in:
Kunlong Ma
2025-01-12 17:43:22 +08:00
committed by Noisyfox
parent 632281fcc0
commit 9e16287b21
5 changed files with 27 additions and 10 deletions

View File

@@ -1027,6 +1027,9 @@ public:
bool is_makeworld_subtask();
/* device type */
bool is_fdm{ true };
inline bool is_fdm_type() const { return is_fdm; }
int m_plate_index { -1 };
std::string m_gcode_file;