no debug
This commit is contained in:
@@ -89,7 +89,7 @@ QList<SHServerDataGenerator::TracedBlock> SHServerDataGenerator::getNeighbourBlo
|
||||
QList<BlockItemPin * > SHServerDataGenerator::getFarBlocks(BlockItem * block) {
|
||||
QList<BlockItemPin * > ret;
|
||||
if (!blockFlags(block).testFlag(SHS::Gateway)) return ret;
|
||||
qDebug() << "getFarBlocks start" << block->propertyValueByName("name").toString();
|
||||
//qDebug() << "getFarBlocks start" << block->propertyValueByName("name").toString();
|
||||
QVector<BlockItemPin*> pins = block->pins();
|
||||
QSet<void*> gathered;
|
||||
for (BlockItemPin * bp: pins) {
|
||||
@@ -126,7 +126,7 @@ QList<SHServerDataGenerator::TracedBlock> SHServerDataGenerator::gatherBlocks(Bl
|
||||
ret = getNeighbourBlocks(block, input);
|
||||
for (const TracedBlock & nb: ret) {
|
||||
QList<BlockItemPin * > far_pins = getFarBlocks(nb.block);
|
||||
qDebug() << "NB block" << nb.block->propertyByName("name").toString() << nb.pin->text() << far_pins.size();
|
||||
//qDebug() << "NB block" << nb.block->propertyByName("name").toString() << nb.pin->text() << far_pins.size();
|
||||
/// gateways
|
||||
while (!far_pins.isEmpty()) {
|
||||
QList<BlockItem*> gwl({nb.block});
|
||||
|
||||
Reference in New Issue
Block a user