]> Creatis software - bbtkGEditor.git/blobdiff - lib/EditorGraphicBBS/bbsVtkGUIEditorGraphic/vtkGPortView.cxx
The creation of a panel which enables the user to set in a basic way the values of...
[bbtkGEditor.git] / lib / EditorGraphicBBS / bbsVtkGUIEditorGraphic / vtkGPortView.cxx
index 97a89586b32ac5bbb75ecd7bba22a2c1ec7cff9e..6633e1fe3bcff3c876dd21532838958ca049de83 100644 (file)
@@ -161,7 +161,11 @@ namespace bbtk
                        {
                                _fillObjectActor->GetProperty()->SetColor(0.2,0.2,0.2);
                        }
-                       else
+                       else if(portm->isValueSet())
+                       {
+                               _fillObjectActor->GetProperty()->SetColor(0.5,0.2,0.2);
+                       }
+                       else 
                        {
                                _fillObjectActor->GetProperty()->SetColor(0.6,0.6,0.6);
                        }