diff options
author | tamasmeszaros <meszaros.q@gmail.com> | 2020-01-08 12:49:54 +0300 |
---|---|---|
committer | tamasmeszaros <meszaros.q@gmail.com> | 2020-01-08 12:49:54 +0300 |
commit | a3a99d7a076df8b2dad39c8e22e83b0e60f500e8 (patch) | |
tree | c39fbf78706907f3c38b8fd9fd9dd939c879e773 | |
parent | f874b618817f0a9e965e8f2f3919643984462658 (diff) |
Do not translate the normal of drainhole points.
-rw-r--r-- | src/libslic3r/SLAPrint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libslic3r/SLAPrint.cpp b/src/libslic3r/SLAPrint.cpp index 1e00e6edb..4d34c09c7 100644 --- a/src/libslic3r/SLAPrint.cpp +++ b/src/libslic3r/SLAPrint.cpp @@ -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; |