]> Creatis software - cpPlugins.git/blobdiff - lib/cpPipelineEditor/Block.cxx
Editor finished
[cpPlugins.git] / lib / cpPipelineEditor / Block.cxx
index 96e60f8c3d2698c6cca5edc6d8b80f1dfe775f55..6d473efba274ba4f78e6ca396a44aeb3e868e46d 100644 (file)
@@ -233,17 +233,6 @@ _configPort( Port* port )
       i->setPos( -this->m_Width / 2 - 2 * port->radius( ), y );\r
     else if( dynamic_cast< OutputPort* >( i ) != NULL )\r
       i->setPos( this->m_Width / 2, y );\r
-\r
-    /* TODO\r
-       Port* p = dynamic_cast< Port* >( i );\r
-       if( p == NULL )\r
-       continue;\r
-\r
-       if( dynamic_cast< OutputPort* >( p ) != NULL )\r
-       p->setPos( this->m_Width / 2 + port->radius( ), y );\r
-       else\r
-       p->setPos( -this->m_Width / 2 - port->radius( ), y );\r
-    */\r
     y += h;\r
 \r
   } // rof\r