reference = referenceMd5;
}
- FunctionalBlock* functionalBlock = params->getGraph()->createStimuliBlock(reference);
+ FunctionalBlock* functionalBlock = params->getGraph()->createStimuliBlock(reference, false);
/* NB: createSourceBlock creates all interfaces from the reference, which is annoying when
reading bif_iface tags. Thus interface are all removed.
*/
}
// recreate all (non-control) interfaces because of some may have a multiplicity>1 with several examplars
- functionalBlock->removeAllInterfaces();
+ //functionalBlock->removeAllInterfaces();
QDomNodeList interfaceNodes = funcElement.elementsByTagName("source_iface");
// setting interfaces (user name, and for multiplicity>1 may be create some new ones)
for(int i=0; i<interfaceNodes.length(); i++) {
writer.writeAttribute("id",QString::number(inter->getId()));
writer.writeAttribute("name",inter->getName());
- writer.writeAttribute("ref_name",inter->refInter->getName());
+ writer.writeAttribute("ref_name",inter->getReferenceName());
writer.writeAttribute("orientation",inter->getStrOrientation());
writer.writeAttribute("position",QString::number(inter->getPositionRatio()));