mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
More constants, less strings => ess memory usage
This commit is contained in:
parent
8fe5d11624
commit
aa9563f00b
10 changed files with 51 additions and 27 deletions
|
@ -1,7 +1,6 @@
|
|||
package Slic3r::ExtrusionLoop;
|
||||
use Moo;
|
||||
|
||||
|
||||
# the underlying Slic3r::Polygon objects holds the geometry
|
||||
has 'polygon' => (
|
||||
is => 'ro',
|
||||
|
@ -9,7 +8,7 @@ has 'polygon' => (
|
|||
handles => [qw(is_printable nearest_point_to)],
|
||||
);
|
||||
|
||||
# perimeter/fill/solid-fill/bridge/skirt
|
||||
# see EXTR_ROLE_* constants in ExtrusionPath.pm
|
||||
has 'role' => (is => 'rw', required => 1);
|
||||
|
||||
sub BUILD {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue