reference = _reference;\r
\r
name = reference->getName();\r
+ type = reference->getType();\r
+ endianess = reference->getEndianess();\r
width = reference->getWidth();\r
direction = reference->getDirection();\r
purpose = reference->getPurpose(); \r
*/\r
if (direction == Input) return false;\r
if (iface->isReferenceInterface()) return false;\r
- if (iface->getConnectedFrom() != NULL) return false;\r
+ ConnectedInterface* connIface = AI_TO_CON(iface);\r
+ if (connIface->getConnectedFrom() != NULL) return false;\r
// first case: interface of blocks within the same group\r
if (getOwner()->getParent() == iface->getOwner()->getParent()) {\r
\r