Fix of PrusaSlicer crashes when using fuzzy skin and setting 0 for values #7468
Fuzzy skin will be disabled for regions with with fuzzy_skin_point_dist < 0.01 or fuzzy_skin_thickness.value < 0.001 as the first one creates excessive long extrusions while the second one does not modify the perimeters.
This commit is contained in:
parent
021457d40f
commit
e3d345aa17
@ -1607,6 +1607,8 @@ PrintRegionConfig region_config_from_model_volume(const PrintRegionConfig &defau
|
||||
config.fill_density.value = 0;
|
||||
else
|
||||
config.fill_density.value = std::min(config.fill_density.value, 100.);
|
||||
if (config.fuzzy_skin.value != FuzzySkinType::None && (config.fuzzy_skin_point_dist.value < 0.01 || config.fuzzy_skin_thickness.value < 0.001))
|
||||
config.fuzzy_skin.value = FuzzySkinType::None;
|
||||
return config;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user