mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-16 00:08:07 +08:00
Do not translate the normal of drainhole points.
This commit is contained in:
parent
f874b61881
commit
a3a99d7a07
@ -1184,7 +1184,7 @@ sla::DrainHoles SLAPrintObject::transformed_drainhole_points() const
|
||||
auto tr = trafo().cast<float>();
|
||||
for (sla::DrainHole &hl : pts) {
|
||||
hl.pos = tr * hl.pos;
|
||||
hl.normal = tr * hl.normal;
|
||||
hl.normal = tr * hl.normal - tr.translation();
|
||||
}
|
||||
|
||||
return pts;
|
||||
|
Loading…
x
Reference in New Issue
Block a user