From 9621e73ee0b0f96e6756b9575b01f14e965fb328 Mon Sep 17 00:00:00 2001 From: Lukas K Date: Mon, 1 Feb 2021 00:43:33 +0100 Subject: [PATCH] imp schematic: don't render junctions connected to lines/arcs --- src/canvas/render.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/canvas/render.cpp b/src/canvas/render.cpp index 5526cfb0a..1b9dd0ec4 100644 --- a/src/canvas/render.cpp +++ b/src/canvas/render.cpp @@ -77,8 +77,8 @@ void Canvas::render(const SchematicJunction &junc) draw_line(junc.position, junc.position + Coordi(0, 1000), c, 0, true, 0.75_mm); img_line(junc.position, junc.position + Coordi(0, 1000), 0.75_mm, 0, true); } - else if (junc.connected_bus_labels.size() || junc.connected_bus_rippers.size() - || junc.connected_net_labels.size()) { + else if (junc.connected_bus_labels.size() || junc.connected_bus_rippers.size() || junc.connected_net_labels.size() + || junc.connected_lines.size() || junc.connected_arcs.size()) { // nop } else {