From cbee82dc957f980c2d7a6d55de415136f6be2bed Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Mon, 8 Feb 2021 11:39:30 +0100 Subject: [PATCH] Fix of "infill percentage not changing #5993" Fix of aa4c018cd5857814ed9ac0cd93d526f3f172d4ab Infill is a percent, which is a number from 0 to 100, not from 0 to 1. --- src/libslic3r/PrintObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/PrintObject.cpp b/src/libslic3r/PrintObject.cpp index 2fe93ec07..3595f6838 100644 --- a/src/libslic3r/PrintObject.cpp +++ b/src/libslic3r/PrintObject.cpp @@ -1606,7 +1606,7 @@ PrintRegionConfig PrintObject::region_config_from_model_volume(const PrintRegion // See GH issue #5910. config.fill_density.value = 0; else - config.fill_density.value = std::min(config.fill_density.value, 1.); + config.fill_density.value = std::min(config.fill_density.value, 100.); return config; }