From 3fd7a5a4b1f22ed038addedc978d7b70cbaf6306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hejl?= Date: Thu, 9 Dec 2021 17:59:15 +0100 Subject: [PATCH] Fixed typo in GLGizmoPainterBase::get_projected_mouse_positions() after 7bb38840e18ecc435ad3acca07828dee526499f8. --- src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp b/src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp index 8b866c7c99..5bcc888ed8 100644 --- a/src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp +++ b/src/slic3r/GUI/Gizmos/GLGizmoPainterBase.cpp @@ -245,7 +245,7 @@ std::vector> GLGizmoPain const Camera &camera = wxGetApp().plater()->get_camera(); std::vector mesh_hit_points; - mesh_hit_points.reserve(mouse_position.size()); + mesh_hit_points.reserve(mouse_positions.size()); // In mesh_hit_points only the last item could have mesh_id == -1, any other items mustn't. for (const Vec2d &mp : mouse_positions) {