Skip to content

Commit

Permalink
Disable "Supports work better, if..." dialog
Browse files Browse the repository at this point in the history
:| :| :|
  • Loading branch information
n8bot committed Dec 21, 2021
1 parent 25b4313 commit fa5069d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/slic3r/GUI/ConfigManipulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@ void ConfigManipulation::update_print_fff_config(DynamicPrintConfig* config, con
apply(config, &new_conf);
}

// Check "support_material" and "overhangs" relations only on global settings level
if (is_global_config && config->opt_bool("support_material")) {
if (0) {
// Ask only once.
if (!m_support_material_overhangs_queried) {
m_support_material_overhangs_queried = true;
Expand All @@ -177,9 +176,9 @@ void ConfigManipulation::update_print_fff_config(DynamicPrintConfig* config, con
}
}
}
else {
m_support_material_overhangs_queried = false;
}
//else {
// m_support_material_overhangs_queried = false;
//}

if (config->option<ConfigOptionPercent>("fill_density")->value == 100) {
std::string fill_pattern = config->option<ConfigOptionEnum<InfillPattern>>("fill_pattern")->serialize();
Expand Down

0 comments on commit fa5069d

Please sign in to comment.