ENH: refresh FilamentUnPrintableOnFirstLayer error state

jira: none

Change-Id: Ifec994cdba2c9590d4c1f8b59e6052593fd05bc2
(cherry picked from commit 04eeb40e1eba976e0921686bf6d66599a90e81cc)
This commit is contained in:
liz.li
2024-10-31 16:22:04 +08:00
committed by Noisyfox
parent 6c002687e0
commit 307bb051e6
4 changed files with 30 additions and 1 deletions

View File

@@ -451,7 +451,7 @@ public:
bool result = m_slice_result_valid;
if (result)
result = m_gcode_result ?
(!m_gcode_result->toolpath_outside && m_gcode_result->gcode_check_result.error_code == 0) :
(!m_gcode_result->toolpath_outside && m_gcode_result->gcode_check_result.error_code == 0 && !m_gcode_result->filament_printable_reuslt.has_value()) :
false;// && !m_gcode_result->conflict_result.has_value() gcode conflict can also print
return result;
}