]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsKernelEditorGraphic/GBlackBoxModel.cxx
Organizing code, the state now is in the view and the general render was simplified...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsKernelEditorGraphic / GBlackBoxModel.cxx
index fa165c00025cb01af49b93ed80de4d5cad4abee5..bdaf53d5bdd86ff03422a2feb74dec78965c6c83 100644 (file)
@@ -97,35 +97,19 @@ namespace bbtk
                int i;
                for(i=0;i<_inputs.size();i++)
                {
-                       _inputs[i]->updatePortPosition(i);
+                       _inputs[i]->updatePortPosition();
                }
                
                //Refresh outputs position
                for(i=0;i<_outputs.size();i++)
                {
-                       _outputs[i]->updatePortPosition(i);
+                       _outputs[i]->updatePortPosition();
                }
 
        }
        
        //=========================================================================
 
-       GPortModel* GBlackBoxModel::getStartOutputPort()
-       {
-               GPortModel* temp = NULL;
-
-               for(int i=0; i<_inputs.size() && temp == NULL;i++)
-               {
-                       if(_outputs[i]->getState() == CREATING_CONTOUR)
-                       {
-                               temp = _outputs[i];
-                       }
-               }
-
-               return temp;
-       }
-
-       //=========================================================================
 
 
 }  // EO namespace bbtk