mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 13:15:55 +08:00
Use converting to geometry instead of projecting for random seams only
This commit is contained in:
parent
a56bd7e21d
commit
820972dca7
@ -39,9 +39,9 @@ ObjectLayerPerimeters get_perimeters(
|
||||
print_object->layers(), params.perimeter.elephant_foot_compensation
|
||||
)};
|
||||
const std::vector<Geometry::BoundedPolygons> projected{
|
||||
print_object->config().seam_position == spAligned ?
|
||||
Geometry::project_to_geometry(extrusions, params.max_distance) :
|
||||
Geometry::convert_to_geometry(extrusions)
|
||||
print_object->config().seam_position == spRandom ?
|
||||
Geometry::convert_to_geometry(extrusions) :
|
||||
Geometry::project_to_geometry(extrusions, params.max_distance)
|
||||
};
|
||||
Perimeters::LayerPerimeters perimeters{Perimeters::create_perimeters(projected, layer_infos, painting, params.perimeter)};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user