1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-27 10:35:51 +00:00

Do not translate the normal of drainhole points.

This commit is contained in:
tamasmeszaros
2020-01-08 10:49:54 +01:00
parent f874b61881
commit a3a99d7a07
+1 -1
View File
@@ -1184,7 +1184,7 @@ sla::DrainHoles SLAPrintObject::transformed_drainhole_points() const
auto tr = trafo().cast<float>(); auto tr = trafo().cast<float>();
for (sla::DrainHole &hl : pts) { for (sla::DrainHole &hl : pts) {
hl.pos = tr * hl.pos; hl.pos = tr * hl.pos;
hl.normal = tr * hl.normal; hl.normal = tr * hl.normal - tr.translation();
} }
return pts; return pts;