]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGPortView.cxx
Necessary changes to manage the basic action . First prototype totally completed...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGPortView.cxx
index d6bef81568860aae7bc07f4d537605b32eec53f7..adbe0caac36e9cfe2402ab37c80c1b18d7a8cbf3 100644 (file)
@@ -53,6 +53,7 @@ namespace bbtk
        //=========================================================================
        void vtkGPortView::update(int command)
        {
+               _objectActor->GetProperty()->SetColor(0.8,0.2,0.5);
                if(_model->getState()==HIGHLIGHTED)
                {
                        _objectActor->GetProperty()->SetColor(0.8,0.2,0.5);
@@ -74,8 +75,8 @@ namespace bbtk
                _pts->SetPoint(2, xFin, yFin, zFin );
                _pts->SetPoint(3, xFin, yInic, zFin );
 
-               _baseView->GetRenderer()->Render();
-               _baseView->GetRenWin()->Render();
+               //_baseView->GetRenderer()->Render();
+               //_baseView->GetRenWin()->Render();
 
        }