Fix of "infill percentage not changing #5993"
Fix of aa4c018cd5
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue