]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGBlackBoxView.cxx
The app saves and opens diagrams !!!! Allll fiiiinnn se logro !!
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGBlackBoxView.cxx
index 9d24f21b9db030a5ba788f45c0e7509bff7ee425..2d9f0c1c8ba0f72dcf4b9a31633f752389fc6938 100644 (file)
@@ -66,6 +66,7 @@ namespace bbtk
                _pts->SetPoint(2, xFin, yFin, zFin );
                _pts->SetPoint(3, xFin, yInic, zFin );
 
+               updatePorts();
 
                _borderPolyMapper->Modified();
                _fillPolyMapper->Modified();
@@ -230,6 +231,14 @@ namespace bbtk
 
        //=========================================================================
 
+       void vtkGBlackBoxView::updatePorts()
+       {
+               GBlackBoxModel* bmod =(GBlackBoxModel*)_model;
+               bmod->updatePorts();
+       }
+
+       //=========================================================================
+
 }  // EO namespace bbtk
 
 // EOF