X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FEditorGraphicBBS%2FbbsKernelEditorGraphic%2FGConnectorModel.cxx;h=f4ba5f4e1ceb9f46fb5a036002b6d3da3ecb5041;hb=50851761f4216d932217db8e8fe56dd5aac6b0fb;hp=58f601bd1baabaff5b15955351e85b73eeb876b8;hpb=eaf825847b9ac4bd762deafa59a7df1c2ceba433;p=bbtkGEditor.git diff --git a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GConnectorModel.cxx b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GConnectorModel.cxx index 58f601b..f4ba5f4 100644 --- a/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GConnectorModel.cxx +++ b/lib/EditorGraphicBBS/bbsKernelEditorGraphic/GConnectorModel.cxx @@ -82,7 +82,6 @@ namespace bbtk manualPoint* point = _model->GetManualPoint(_model->GetSizeLstPoints()-1); point->SetPoint(xCenter,yIport,zCenter); - cout<<"RaC GConnectorModel::setEndPort size:"<<_model->GetSizeLstPoints()<getCenter(xCenter,yCenter,zCenter); + double xIport,yIport,zIport; + _startPort->getInicPoint(xIport,yIport,zIport); + + manualPoint* point = _model->GetManualPoint(0); + point->SetPoint(xCenter,yIport,zCenter); + + //End Point + _endPort->getCenter(xCenter,yCenter,zCenter); + _endPort->getInicPoint(xIport,yIport,zIport); + + point = _model->GetManualPoint(_model->GetSizeLstPoints()-1); + point->SetPoint(xCenter,yIport,zCenter); + } + } // EO namespace bbtk // EOF