mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 12:47:50 -06:00
Fixed a crash when accessing a non-existing config value from C++ infill.
Disabled a test case of 100% infill coverage. This needs to be yet improved.
This commit is contained in:
parent
a6cf6afb49
commit
28ccb51f9b
3 changed files with 8 additions and 5 deletions
|
@ -198,11 +198,13 @@ void make_fill(LayerRegion &layerm, ExtrusionEntityCollection &out)
|
|||
}
|
||||
|
||||
double link_max_length = 0.;
|
||||
#if 0
|
||||
if (! is_bridge) {
|
||||
link_max_length = layerm.region()->config.get_abs_value(surface.is_external() ? "external_fill_link_max_length" : "fill_link_max_length", flow.spacing());
|
||||
// printf("flow spacing: %f, is_external: %d, link_max_length: %lf\n", flow.spacing(), int(surface.is_external()), link_max_length);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
f->layer_id = layerm.layer()->id();
|
||||
f->z = layerm.layer()->print_z;
|
||||
f->angle = Geometry::deg2rad(layerm.region()->config.fill_angle.value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue