Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <merill@free.fr>2021-09-26 14:50:49 +0300
committersupermerill <merill@free.fr>2021-09-26 14:51:05 +0300
commit088b92917c00e4b1abbd9b517705125f107201a6 (patch)
tree6e41b3d698c986a45ae3b1ae05d9a1e4bdfab61a /src/slic3r/GUI/GUI_ObjectSettings.cpp
parentb45963727f022198743100943ad0556c93fbb864 (diff)
Add filament_max_overlap, to control the line spacing via filament setting
It allows to control the spacing vs width (10%% fill vs a bit less) The 'enforce 100% fill volume' is also adjusted to take that into account Note that if you're using multiple extruders/filament everywhere (and spacing setting for width setting), the result may be a bit unexpected, as the gui can't display all the interactions, also some features (like support) may revert to default overlap value, if printed with multiple filaments. supermerill/SuperSlicer#1590
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectSettings.cpp')
-rw-r--r--src/slic3r/GUI/GUI_ObjectSettings.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectSettings.cpp b/src/slic3r/GUI/GUI_ObjectSettings.cpp
index dbd3bc4a9..d2217f2ab 100644
--- a/src/slic3r/GUI/GUI_ObjectSettings.cpp
+++ b/src/slic3r/GUI/GUI_ObjectSettings.cpp
@@ -212,9 +212,7 @@ void ObjectSettings::update_config_values(ModelConfig* config)
return;
// update config values according to configuration hierarchy
- DynamicPrintConfig main_config = printer_technology == ptFFF ?
- wxGetApp().preset_bundle->prints.get_edited_preset().config :
- wxGetApp().preset_bundle->sla_prints.get_edited_preset().config;
+ DynamicPrintConfig main_config = wxGetApp().preset_bundle->prints(printer_technology).get_edited_preset().config;
auto load_config = [this, config, &main_config]()
{