mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 01:58:35 +05:00
Bug IPAL21372 - 0D algorithm. Mesh visualization failed,if all of 1-3D algorithms are removed,but 0D is remained.
This commit is contained in:
parent
6510081be2
commit
75e6081e5e
@ -1250,7 +1250,11 @@ void SMESH_ActorDef::SetEntityMode(unsigned int theMode)
|
||||
|
||||
VTKViewer_ExtractUnstructuredGrid* aHightFilter = myHighlitableActor->GetExtractUnstructuredGrid();
|
||||
aHightFilter->ClearRegisteredCellsWithType();
|
||||
aHightFilter->SetModeOfChanging(VTKViewer_ExtractUnstructuredGrid::eAdding);
|
||||
|
||||
// The following row has been commented (initially added in 1.28.2.3.1 revision)
|
||||
// Reason: seems to be unnecessary, this filter should always have default (ePassAll) mode of changing
|
||||
// In addition, it leads to exception (see bug IPAL21372)
|
||||
//aHightFilter->SetModeOfChanging(VTKViewer_ExtractUnstructuredGrid::eAdding);
|
||||
|
||||
if (myEntityMode & e0DElements) {
|
||||
if (MYDEBUG) MESSAGE("0D ELEMENTS");
|
||||
|
Loading…
Reference in New Issue
Block a user