]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GPortModel.cxx
Vestion inestable .... It works but it must be changed the connector creation ...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GPortModel.cxx
index 50b0fd6c39c8aa4abc1ef6bd4900adde01ddb594..7cd922090d8942566e918bf94158adb28f4cc7f7 100644 (file)
@@ -75,11 +75,11 @@ namespace bbtk
                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