From 42086a455dd30f5d8bafb2bfa43dbe3d1130d459 Mon Sep 17 00:00:00 2001 From: Anton Lazarev Date: Sat, 24 Jul 2021 18:25:25 -0700 Subject: [PATCH] fix blind via early return in VRML exporter --- pcbnew/exporters/export_vrml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/exporters/export_vrml.cpp b/pcbnew/exporters/export_vrml.cpp index b16c47166d..1e636c8775 100644 --- a/pcbnew/exporters/export_vrml.cpp +++ b/pcbnew/exporters/export_vrml.cpp @@ -637,7 +637,7 @@ void EXPORTER_PCB_VRML::ExportVrmlViaHoles() // do not render a buried via if( top_layer != F_Cu && bottom_layer != B_Cu ) - return; + continue; // Export all via holes to m_holes double hole_radius = via->GetDrillValue() * m_BoardToVrmlScale / 2.0;