mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 07:32:39 -07:00
Do not translate the normal of drainhole points.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user