Debug gap fill option (now it activate the gap fill speed option)

This commit is contained in:
supermerill 2018-11-14 20:04:35 +01:00
parent e7cfb20838
commit 4bd6ef61f4

View File

@ -1227,7 +1227,7 @@ void TabPrint::update()
"infill_speed", "bridge_speed" })
get_field(el)->toggle(have_infill || have_solid_infill);
get_field("gap_fill_speed")->toggle(have_perimeters && m_config->option<ConfigOptionPercent>("gap_fill"));
get_field("gap_fill_speed")->toggle(have_perimeters && m_config->opt_bool("gap_fill"));
bool have_top_solid_infill = m_config->opt_int("top_solid_layers") > 0;
for (auto el : { "top_infill_extrusion_width", "top_solid_infill_speed" })