mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 22:14:00 -06:00
More incomplete work for Flow/Extruder refactoring
This commit is contained in:
parent
52ce6e4a7b
commit
8ed738d3f7
27 changed files with 250 additions and 233 deletions
|
@ -97,8 +97,7 @@ sub new {
|
|||
return $class->_new(
|
||||
$args{polygon}, # required
|
||||
$args{role}, # required
|
||||
$args{height} // -1,
|
||||
$args{flow_spacing} // -1,
|
||||
$args{mm3_per_mm} // -1,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -108,8 +107,7 @@ sub clone {
|
|||
return (ref $self)->_new(
|
||||
$args{polygon} // $self->polygon,
|
||||
$args{role} // $self->role,
|
||||
$args{height} // $self->height,
|
||||
$args{flow_spacing} // $self->flow_spacing,
|
||||
$args{mm3_per_mm} // $self->mm3_per_mm,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -129,8 +127,7 @@ sub new {
|
|||
return $class->_new(
|
||||
$args{polyline}, # required
|
||||
$args{role}, # required
|
||||
$args{height} // -1,
|
||||
$args{flow_spacing} // -1,
|
||||
$args{mm3_per_mm} // -1,
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -140,8 +137,7 @@ sub clone {
|
|||
return (ref $self)->_new(
|
||||
$args{polyline} // $self->polyline,
|
||||
$args{role} // $self->role,
|
||||
$args{height} // $self->height,
|
||||
$args{flow_spacing} // $self->flow_spacing,
|
||||
$args{mm3_per_mm} // $self->mm3_per_mm,
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue