mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-21 12:02:17 -07:00
FIX: hide wrapping detect for unsupported printers
jira: STUDIO-13884 Change-Id: I215011f419ff194f6b8e4c7ed884cba194c87d19 (cherry picked from commit fd63b1f59d88fb8e07b8ca71dfa5c01cfa54def5)
This commit is contained in:
parent
120c9b41e2
commit
390bc3fb27
1 changed files with 4 additions and 0 deletions
|
|
@ -897,6 +897,10 @@ void ConfigManipulation::toggle_print_fff_options(DynamicPrintConfig *config, co
|
|||
|
||||
|
||||
toggle_line("infill_overhang_angle", config->opt_enum<InfillPattern>("sparse_infill_pattern") == InfillPattern::ipLateralHoneycomb);
|
||||
|
||||
ConfigOptionPoints *wrapping_exclude_area_opt = wxGetApp().preset_bundle->printers.get_edited_preset().config.option<ConfigOptionPoints>("wrapping_exclude_area");
|
||||
bool support_wrapping_detect = wrapping_exclude_area_opt &&wrapping_exclude_area_opt->values.size() > 3;
|
||||
toggle_line("enable_wrapping_detection", support_wrapping_detect);
|
||||
}
|
||||
|
||||
void ConfigManipulation::update_print_sla_config(DynamicPrintConfig* config, const bool is_global_config/* = false*/)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue