mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-30 12:11:15 -06:00
Refactoring: make 'retracted' an attribute of the Extruder object
This commit is contained in:
parent
97c3756034
commit
075213c731
3 changed files with 12 additions and 8 deletions
|
|
@ -10,6 +10,7 @@ use constant OPTIONS => [qw(
|
|||
)];
|
||||
has $_ => (is => 'ro', required => 1) for @{&OPTIONS};
|
||||
|
||||
has 'retracted' => (is => 'rw', default => sub {0} );
|
||||
has 'e_per_mm3' => (is => 'lazy');
|
||||
has 'retract_speed_mm_min' => (is => 'lazy');
|
||||
has '_mm3_per_mm_cache' => (is => 'ro', default => sub {{}});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue