X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPipelineEditor%2FBlock.cxx;h=6d473efba274ba4f78e6ca396a44aeb3e868e46d;hb=3ac87d29be6f3484efcfb3bcc204b7f99faa1eed;hp=96e60f8c3d2698c6cca5edc6d8b80f1dfe775f55;hpb=46f2cf7aa39bda8301b22fcfddd43daf0dc13770;p=cpPlugins.git diff --git a/lib/cpPipelineEditor/Block.cxx b/lib/cpPipelineEditor/Block.cxx index 96e60f8..6d473ef 100644 --- a/lib/cpPipelineEditor/Block.cxx +++ b/lib/cpPipelineEditor/Block.cxx @@ -233,17 +233,6 @@ _configPort( Port* port ) i->setPos( -this->m_Width / 2 - 2 * port->radius( ), y ); else if( dynamic_cast< OutputPort* >( i ) != NULL ) i->setPos( this->m_Width / 2, y ); - - /* TODO - Port* p = dynamic_cast< Port* >( i ); - if( p == NULL ) - continue; - - if( dynamic_cast< OutputPort* >( p ) != NULL ) - p->setPos( this->m_Width / 2 + port->radius( ), y ); - else - p->setPos( -this->m_Width / 2 - port->radius( ), y ); - */ y += h; } // rof