Files
OrcaSlicer/tests/libslic3r
Ian Bassi 7aa23c6928 Keep brush paint in place when a cut or boolean moves a mirrored part
To keep paint through a cut or a mesh boolean, the part's mesh is saved
with its paint, moved to where the part is, and the paint is transferred
from it onto the new mesh. Brush paint splits a triangle into smaller
ones, recorded against the order of its three vertices.

Cut flipped the saved mesh of a mirrored part to turn it right side out,
which swaps two vertices of every triangle, so each stroke was read back
in the wrong place inside its triangles. The mesh boolean did not flip,
so its saved mesh faced inward and the transfer, which only paints faces
that point the same way, dropped every stroke.

Move the saved mesh without reordering its vertices and mark a mirrored
one as inside out. The transfer reads the paint as recorded and turns
that mesh's normals around.
2026-11-30 17:03:38 -03:00
..
2026-10-11 22:36:16 -03:00
2025-12-08 22:42:11 +08:00