From a3a99d7a076df8b2dad39c8e22e83b0e60f500e8 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 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(); for (sla::DrainHole &hl : pts) { hl.pos = tr * hl.pos; - hl.normal = tr * hl.normal; + hl.normal = tr * hl.normal - tr.translation(); } return pts;