mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Refactored configuration handling.
Slic3r::Config is now an object. Multiple partial config objects are used throughout the codebase as local repositories, then merged and serialized when necessary.
This commit is contained in:
@@ -159,7 +159,7 @@ sub detect_arcs {
|
||||
my ($max_angle, $len_epsilon) = @_;
|
||||
|
||||
$max_angle = deg2rad($max_angle || 15);
|
||||
$len_epsilon ||= 10 / $Slic3r::scaling_factor;
|
||||
$len_epsilon ||= 10 / &Slic3r::SCALING_FACTOR;
|
||||
|
||||
my @points = @{$self->points};
|
||||
my @paths = ();
|
||||
|
||||
Reference in New Issue
Block a user