mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 09:29:03 +08:00
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.
This commit is contained in:
parent
d001195ebd
commit
cbee82dc95
@ -1606,7 +1606,7 @@ PrintRegionConfig PrintObject::region_config_from_model_volume(const PrintRegion
|
|||||||
// See GH issue #5910.
|
// See GH issue #5910.
|
||||||
config.fill_density.value = 0;
|
config.fill_density.value = 0;
|
||||||
else
|
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;
|
return config;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user