mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-02 16:50:42 +08:00
Fix painted seam on vertical surfaces (broken since 8dfc042)
This commit is contained in:
parent
18c8204837
commit
298825672b
@ -2294,13 +2294,12 @@ void PrintObject::project_and_append_custom_facets(
|
|||||||
? mv->seam_facets.get_facets_strict(*mv, type)
|
? mv->seam_facets.get_facets_strict(*mv, type)
|
||||||
: mv->supported_facets.get_facets_strict(*mv, type);
|
: mv->supported_facets.get_facets_strict(*mv, type);
|
||||||
if (! custom_facets.indices.empty())
|
if (! custom_facets.indices.empty())
|
||||||
#if 0
|
if (seam)
|
||||||
project_triangles_to_slabs(this->layers(), custom_facets,
|
project_triangles_to_slabs(this->layers(), custom_facets,
|
||||||
(this->trafo_centered() * mv->get_matrix()).cast<float>(),
|
(this->trafo_centered() * mv->get_matrix()).cast<float>(),
|
||||||
seam, out);
|
seam, out);
|
||||||
#else
|
else
|
||||||
slice_mesh_slabs(custom_facets, zs_from_layers(this->layers()), this->trafo_centered() * mv->get_matrix(), nullptr, &out, [](){});
|
slice_mesh_slabs(custom_facets, zs_from_layers(this->layers()), this->trafo_centered() * mv->get_matrix(), nullptr, &out, [](){});
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user