From 578c0ef0f0651b9cddaf972d776d48bbbd6958c9 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Thu, 13 Oct 2022 10:08:24 +0200 Subject: [PATCH] 3D viewer: add missing initialization of FL_SOLDERPASTE in BOARD_ADAPTER. Fixes #12631 https://gitlab.com/kicad/code/kicad/issues/12631 --- 3d-viewer/3d_canvas/board_adapter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/3d-viewer/3d_canvas/board_adapter.cpp b/3d-viewer/3d_canvas/board_adapter.cpp index 0589a8fce9..ba92468e38 100644 --- a/3d-viewer/3d_canvas/board_adapter.cpp +++ b/3d-viewer/3d_canvas/board_adapter.cpp @@ -119,6 +119,7 @@ BOARD_ADAPTER::BOARD_ADAPTER() : SetFlag( FL_ZONE, true ); SetFlag( FL_SILKSCREEN, true ); SetFlag( FL_SOLDERMASK, true ); + SetFlag( FL_SOLDERPASTE, true ); SetFlag( FL_SUBTRACT_MASK_FROM_SILK, false ); SetFlag( FL_RENDER_OPENGL_COPPER_THICKNESS, true );