From 084d5228eef2e5ca5edb39966eeff750a01a5b72 Mon Sep 17 00:00:00 2001 From: ouv Date: Wed, 20 Jan 2010 15:24:23 +0000 Subject: [PATCH] Issue 0020657: EDF 1244 SMESH: Bad display of tetras --- src/OBJECT/SMESH_Actor.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/OBJECT/SMESH_Actor.cxx b/src/OBJECT/SMESH_Actor.cxx index b768fd2f5..16d71448f 100644 --- a/src/OBJECT/SMESH_Actor.cxx +++ b/src/OBJECT/SMESH_Actor.cxx @@ -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"); -- 2.30.2