diff --git a/src/OBJECT/GEOM_Actor.cxx b/src/OBJECT/GEOM_Actor.cxx index 3e2d7a1b1..318ea45b8 100644 --- a/src/OBJECT/GEOM_Actor.cxx +++ b/src/OBJECT/GEOM_Actor.cxx @@ -687,6 +687,8 @@ void GEOM_Actor::SetColor(vtkFloatingPointType r,vtkFloatingPointType g,vtkFloat myOneFaceEdgeActor->GetProperty()->SetColor(r,g,b); // standalone face edge color (Wireframe) mySharedEdgeActor->GetProperty()->SetColor(r,g,b); // share edge color (Wireframe) } + + StoreBoundaryColors(); } void GEOM_Actor::GetColor(vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointType& b) @@ -1008,7 +1010,8 @@ void GEOM_Actor::ResetIsoNumbers() void GEOM_Actor::StoreBoundaryColors() { - mySharedEdgeActor->GetProperty()->GetColor(myEdgesInWireframeColor); + myShadingFaceProp->GetColor(myEdgesInWireframeColor); + } void GEOM_Actor::RestoreBoundaryColors()