Warnings: remove empty code (#6577)

* Warnings: remove empty code
This commit is contained in:
Vovodroid authored and GitHub committed 2024-09-07 18:18:35 +08:00
1 parent 82c90666da
commit 07d79376d3
8 files changed
-29

No files matched your search

-4
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())
{