From e9b4e8e1d9ff1982154cc710937fd8d85fc525f0 Mon Sep 17 00:00:00 2001 From: tamasmeszaros Date: Wed, 8 Jan 2020 10:49:54 +0100 Subject: [PATCH] Do not translate the normal of drainhole points. --- src/libslic3r/SLAPrint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/SLAPrint.cpp b/src/libslic3r/SLAPrint.cpp index 1e00e6edb16..4d34c09c7b5 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(); for (sla::DrainHole &hl : pts) { hl.pos = tr * hl.pos; - hl.normal = tr * hl.normal; + hl.normal = tr * hl.normal - tr.translation(); } return pts;