Issue 0020657: EDF 1244 SMESH: Bad display of tetras

This commit is contained in:
ouv 2010-01-20 15:24:23 +00:00
parent 0862b12810
commit 084d5228ee

View File

@ -1292,11 +1292,7 @@ void SMESH_ActorDef::SetEntityMode(unsigned int theMode)
VTKViewer_ExtractUnstructuredGrid* aHightFilter = myHighlitableActor->GetExtractUnstructuredGrid();
aHightFilter->ClearRegisteredCellsWithType();
// 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);
aHightFilter->SetModeOfChanging(VTKViewer_ExtractUnstructuredGrid::eAdding);
if (myEntityMode & e0DElements) {
if (MYDEBUG) MESSAGE("0D ELEMENTS");