mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Turn fill_density into percentage
This commit is contained in:
@@ -192,7 +192,7 @@ sub make_fill {
|
||||
|
||||
# force 100% density and rectilinear fill for external surfaces
|
||||
if ($surface->surface_type != S_TYPE_INTERNAL) {
|
||||
$density = 1;
|
||||
$density = 100;
|
||||
$filler = $layerm->config->solid_fill_pattern;
|
||||
if ($is_bridge) {
|
||||
$filler = 'rectilinear';
|
||||
@@ -209,7 +209,7 @@ sub make_fill {
|
||||
$f->angle($layerm->config->fill_angle);
|
||||
my ($params, @polylines) = $f->fill_surface(
|
||||
$surface,
|
||||
density => $density,
|
||||
density => $density/100,
|
||||
flow => $flow,
|
||||
);
|
||||
next unless @polylines;
|
||||
|
||||
Reference in New Issue
Block a user