mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 18:00:34 +05:00
Fix regression (after fix for PAL21179):
1) VTK viewer: change edges color for wireframe mode after change the color of the shape.
This commit is contained in:
parent
aa13fb8f08
commit
50c7a4428d
@ -687,6 +687,8 @@ void GEOM_Actor::SetColor(vtkFloatingPointType r,vtkFloatingPointType g,vtkFloat
|
|||||||
myOneFaceEdgeActor->GetProperty()->SetColor(r,g,b); // standalone face edge color (Wireframe)
|
myOneFaceEdgeActor->GetProperty()->SetColor(r,g,b); // standalone face edge color (Wireframe)
|
||||||
mySharedEdgeActor->GetProperty()->SetColor(r,g,b); // share edge color (Wireframe)
|
mySharedEdgeActor->GetProperty()->SetColor(r,g,b); // share edge color (Wireframe)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StoreBoundaryColors();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GEOM_Actor::GetColor(vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointType& b)
|
void GEOM_Actor::GetColor(vtkFloatingPointType& r,vtkFloatingPointType& g,vtkFloatingPointType& b)
|
||||||
@ -1008,7 +1010,8 @@ void GEOM_Actor::ResetIsoNumbers()
|
|||||||
|
|
||||||
void GEOM_Actor::StoreBoundaryColors()
|
void GEOM_Actor::StoreBoundaryColors()
|
||||||
{
|
{
|
||||||
mySharedEdgeActor->GetProperty()->GetColor(myEdgesInWireframeColor);
|
myShadingFaceProp->GetColor(myEdgesInWireframeColor);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GEOM_Actor::RestoreBoundaryColors()
|
void GEOM_Actor::RestoreBoundaryColors()
|
||||||
|
Loading…
Reference in New Issue
Block a user