diff options
author | Ghostkeeper <rubend@tutanota.com> | 2021-10-11 11:07:52 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2021-10-11 11:08:11 +0300 |
commit | 4aa10ba42f96cfa34f1c4bbecc6180bec80472e6 (patch) | |
tree | 8ae4f62ac63f973a1a6f631124a7c7b37d141584 /cura/BuildVolume.py | |
parent | 4759007ed865f46075ee7908ba5c6cc2ec88682a (diff) |
Use initial layer line width factor from adhesion extruder
This is a per-extruder setting. So get it from the proper extruder.
Diffstat (limited to 'cura/BuildVolume.py')
-rwxr-xr-x | cura/BuildVolume.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cura/BuildVolume.py b/cura/BuildVolume.py index cf397e395e..e0c43c4876 100755 --- a/cura/BuildVolume.py +++ b/cura/BuildVolume.py @@ -1078,9 +1078,10 @@ class BuildVolume(SceneNode): # setting does *not* have a limit_to_extruder setting (which means that we can't ask the global extruder what # the value is. adhesion_extruder = self._global_container_stack.getProperty("adhesion_extruder_nr", "value") - skirt_brim_line_width = self._global_container_stack.extruderList[int(adhesion_extruder)].getProperty("skirt_brim_line_width", "value") + adhesion_stack = self._global_container_stack.extruderList[int(adhesion_extruder)] + skirt_brim_line_width = adhesion_stack.getProperty("skirt_brim_line_width", "value") - initial_layer_line_width_factor = self._global_container_stack.getProperty("initial_layer_line_width_factor", "value") + initial_layer_line_width_factor = adhesion_stack.getProperty("initial_layer_line_width_factor", "value") # Use brim width if brim is enabled OR the prime tower has a brim. if adhesion_type == "brim": brim_line_count = self._global_container_stack.getProperty("brim_line_count", "value") |