mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 23:30:32 +05:00
Bug IPAL21655 - Points representation works incorrectly with white background
This commit is contained in:
parent
aa031dbe39
commit
fa7f73d6bd
@ -881,8 +881,6 @@ SetControlMode(eControl theMode,
|
||||
|
||||
|
||||
void SMESH_ActorDef::AddToRender(vtkRenderer* theRenderer){
|
||||
SALOME_Actor::AddToRender(theRenderer);
|
||||
|
||||
theRenderer->AddActor(myNodeActor);
|
||||
theRenderer->AddActor(myBaseActor);
|
||||
|
||||
@ -907,6 +905,10 @@ void SMESH_ActorDef::AddToRender(vtkRenderer* theRenderer){
|
||||
|
||||
theRenderer->AddActor2D(myPointLabels);
|
||||
theRenderer->AddActor2D(myCellsLabels);
|
||||
|
||||
// the superclass' method should be called at the end
|
||||
// (in particular, for correct work of selection)
|
||||
SALOME_Actor::AddToRender(theRenderer);
|
||||
}
|
||||
|
||||
void SMESH_ActorDef::RemoveFromRender(vtkRenderer* theRenderer){
|
||||
|
Loading…
Reference in New Issue
Block a user