double posX=xInic,posY=yInic,posZ=zInic;
if(_portType==GOUTPUTPORT)
{
- posY = yInic+PORT_HEIGHT;
+ posY = yFin;
}
else if(_portType==GINPUTPORT)
{
- posY = yFin;
+ posY = yInic+PORT_HEIGHT;
}
//Attribute '_posInBox' starts with value 0 and it represents the position of the port in the box from left to right
setFinalPoint(posX,posY,posZ);
- setChanged();
- notifyObservers();
+ //notifyObservers();
}
//=========================================================================