mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 05:24:01 -06:00
Moved first_layer_extrusion_width to PrintConfig
This commit is contained in:
parent
81663215c5
commit
b9793b3f12
6 changed files with 40 additions and 29 deletions
|
@ -21,8 +21,8 @@ sub flow {
|
|||
if (!defined $config_width) {
|
||||
# get extrusion width from configuration
|
||||
# (might be an absolute value, or a percent value, or zero for auto)
|
||||
if ($first_layer && $self->config->first_layer_extrusion_width ne '0') {
|
||||
$config_width = $self->config->first_layer_extrusion_width;
|
||||
if ($first_layer && $self->print->config->first_layer_extrusion_width) {
|
||||
$config_width = $self->print->config->first_layer_extrusion_width;
|
||||
} elsif ($role == FLOW_ROLE_PERIMETER) {
|
||||
$config_width = $self->config->perimeter_extrusion_width;
|
||||
} elsif ($role == FLOW_ROLE_INFILL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue