BlockView pin multiconnect fix - unable connect to busy pin if multiconnect disabled

This commit is contained in:
2020-10-14 01:25:05 +03:00
parent 2be06ecc7c
commit 449b6b42c3

View File

@@ -1300,6 +1300,8 @@ void BlockView::trace(QPointF scene_pos_from, QPointF scene_pos_to, BlockBusItem
foreach (BlockItemPin * p, pins) {
if (p->busType() == bus->busType())
wavetrace.fill(quantize(p->scenePos(), grid_step).toPoint() / grid_step + dp, BlockViewWavetrace::Empty);
if (!m_pin_mc && !p->connectedBuses().isEmpty())
wavetrace.fill(quantize(p->scenePos(), grid_step).toPoint() / grid_step + dp, BlockViewWavetrace::Blocked);
}
}
if (m_trace_with_buses) {