Warnings: remove empty code (#6577)

* Warnings: remove empty code
This commit is contained in:
Vovodroid
2024-09-07 13:18:35 +03:00
committed by GitHub
parent 82c90666da
commit 07d79376d3
8 changed files with 0 additions and 29 deletions

View File

@@ -240,10 +240,6 @@ void IMSlider::SetTicksValues(const Info &custom_gcode_per_print_z)
if (tick >= 0) m_ticks.ticks.emplace(TickCode{tick, h.type, h.extruder, h.color, h.extra});
}
if (!was_empty && m_ticks.empty())
// Switch to the "Feature type"/"Tool" from the very beginning of a new object slicing after deleting of the old one
;// post_ticks_changed_event();
if (m_ticks.has_tick_with_code(ToolChange) && !m_can_change_color) {
if (!wxGetApp().plater()->only_gcode_mode() && !wxGetApp().plater()->using_exported_file())
{